Skip to content

Resolve manager license upstream from cluster identity - #76

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-org-license
Sep 17, 2026
Merged

ArnobKumarSaha merged 1 commit into
masterfrom
arnob-org-license

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Part of the org-based licensing model. Depends on kmodules/client-go#649.

The manager stops reading static config for its upstream, so selfhosted and vendor-connected platforms run the same binary with the same wiring.

  • LicenseAcquirer resolves the upstream from the hub's own LicenseInfo: the selfhosted platform-api endpoint when set, the configured --baseURL otherwise.
  • Read per acquisition, not once at startup, since ui-server keeps ace-info reconciled.
  • Drift between --baseURL and the identity's endpoint warns and proceeds with the identity's endpoint. It does not block issuance.
  • Uses the uncached APIReader, to avoid watching every ConfigMap and Namespace on the hub.

Proxy (spoke) mode is unchanged, including the agent's platform.baseURL.

Inert until ui-server writes LicenseInfo: with License nil, every path falls back to --baseURL as today.

Vendor: vendored kmodules.xyz/client-go is hand-patched to the unreleased types so this builds; the real go.mod bump lands once client-go is tagged. Do not merge before that.

The hub's own LicenseInfo decides the upstream: a selfhosted platform-api
endpoint when set, the configured --baseURL otherwise. Read per acquisition
since ui-server keeps ace-info reconciled. Drift against --baseURL warns and
proceeds with the identity's endpoint.

Vendored kmodules.xyz/client-go is hand-patched to the unreleased types; the
real bump lands when client-go is tagged.

Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 2b84a0a into master Sep 17, 2026
4 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-org-license branch September 17, 2026 11:37
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