Skip to content

Deprecate the internal platform registration methods - #181

Merged
vitramir merged 1 commit into
mainfrom
retire-platform-registration-clean
Aug 8, 2026
Merged

Deprecate the internal platform registration methods#181
vitramir merged 1 commit into
mainfrom
retire-platform-registration-clean

Conversation

@vitramir

@vitramir vitramir commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

RegisterPlatformOrganization and RegisterPlatformImage exist because provisioning had no identity: they are called with none, fenced by Istio principal, and create-if-absent so a re-run cannot overwrite an edit. Both are a second creation path on a service that already has one, existing only for install.

Provisioning now calls the ordinary Gateway API as a cluster admin, so neither has a caller left. A provisioned resource is created the same way an operator's is, which is what lets a release correct a resource it shipped earlier — create-if-absent could not.

Deprecated, not deleted, matching how the flavor methods on RunnersService were retired: existing callers keep compiling while they migrate, and the services stop implementing them. buf lint and buf breaking are both clean against main.

The service-side removals (implementations, Istio policies, the provisioner Job) land in agynio/organizations and agynio/images. Those depend on the provisioning controller reconciling organizations and images first — otherwise a release ships with nothing creating the system organization.

Part of one-step-install; follows #180.

@vitramir
vitramir requested a review from a team as a code owner August 8, 2026 21:37
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow buf-pr / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedAug 8, 2026, 9:49 PM

RegisterPlatformOrganization and RegisterPlatformImage exist because
provisioning had no identity: they are called with none, fenced by Istio
principal, and create-if-absent so a re-run cannot overwrite an edit. Both are
a second creation path on a service that already has one, existing only for
install.

Provisioning now calls the ordinary Gateway API as a cluster admin, so neither
has a caller left. A provisioned resource is created the same way an operator's
is, which is what lets a release correct a resource it shipped earlier --
create-if-absent could not.

Deprecated rather than deleted, matching how the flavor methods were retired:
existing callers keep compiling while they migrate, and the services stop
implementing them. buf breaking stays clean.

Refs architecture/changes/2026-08-08-one-step-install.md
@vitramir
vitramir force-pushed the retire-platform-registration-clean branch from d534914 to f5e151e Compare August 8, 2026 21:49
@vitramir vitramir changed the title Retire the internal platform registration methods Deprecate the internal platform registration methods Aug 8, 2026
@vitramir
vitramir merged commit 25d6326 into main Aug 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant