Populate tenant on the billing event - #72
Merged
Merged
Conversation
Set from the cluster identity for managed orgs, overridden by the namespace annotations for client orgs, which are more specific than the cluster they sit on. Namespace.AceOrgID/AceOrgMetadata stay populated one release. Vendored kmodules.xyz sources are hand-patched to the unreleased types; the real bump lands when client-go and resource-metadata are tagged. Signed-off-by: Arnob Kumar Saha <arnob@appscode.com> Signed-off-by: Arnob kumar saha <arnob@appscode.com>
ArnobKumarSaha
force-pushed
the
arnob-org-license
branch
from
September 16, 2026 09:21
03942f2 to
e254968
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the org-based licensing model. Depends on kmodules/resource-metadata#674 and kmodules/client-go#649.
ClusterMetadata.License.OrgID, before the namespace block — a managed org owns whole clusters and has no namespace to read.Source: namespace, reusing the org id and metadata already computed there. A client org is more specific than the cluster it sits on.Namespace.AceOrgID/AceOrgMetadatastay populated for one release.Inert until ui-server writes
LicenseInfointoace-info:Licenseis nil everywhere today, so only the namespace path fires, exactly as before.Vendor: the vendored
kmodules.xyzsources are hand-patched to the unreleased types so this builds; the realgo.modbump lands once client-go and resource-metadata are tagged. Do not merge before that.