Repository navigation
feat(mecak8s): deliver the identity broker's settings and key fallbacks through Helm - #2977
Merged
Merged
Conversation
rdimitrov
approved these changes
Nov 24, 2026
rdimitrov
left a comment
Member
There was a problem hiding this comment.
LGTM.
Checked:
- Settings are rendered only when non-empty, so older images still load the file;
clockSkew: 0sis a non-empty string and renders. - The role-collision check now covers fallbacks on both sides, and repeating a key within one role is allowed. That matches
Keys.Validate, which refuses only cross-role reuse, so the chart doesn't refuse what mecak8s accepts. - Fallback projections use per-index directories, so two fallbacks with the same key name don't collide.
- The guide is candid that the agent issuer fallback has no effect while the broker runs inside mecak8s, because the restart drops registrations.
The one red check, the kind shard 2 job, failed fetching from sum.golang.org (stream error ... INTERNAL_ERROR). It's unrelated; a re-run should clear it.
…ks through Helm The chart renders identityBroker.settings into the broker's configuration file, each field only when set, and projects fallback keys for the agent issuer and AS-1 signing keys. The operator guide maps every field to its Helm value and adds key rotation and secret-manager sections. Part of #2814. Co-authored-by: Mecatl <[email protected]>
ChrisJBurns
force-pushed
the
feat/identitybroker-helm
branch
from
November 24, 2026 16:06
2f5850e to
2236a7a
Compare
This branch was successfully deployed
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 #2814. Builds on #2976 (merged).
Summary
The Helm chart now delivers the identity broker's settings from #2813 and fallback keys for the agent issuer and AS-1 signing keys. The operator guide gains key rotation and secret-manager sections.
Changes
identityBroker.settings:idJAGMaxLifetime,idJAGLifetime,credentialLifetime,clientAssertionLifetime,clockSkew,as1RequestTimeout,as2RequestTimeout.identityBroker.keys.agentIssuer.fallbacksandidentityBroker.keys.as1Signing.fallbacks: lists of Secret keys.fallback_key_filesonly when non-empty.mcp.broker.signingKey;idJAGMaxLifetimeoridJAGLifetimewithoutidentityBroker.as1.issuer.With the broker off, the chart renders exactly as before, as do all
ci/*-values.yamlprofiles and the Kind identity-broker profile (compared with UUIDs normalised).--reuse-valuesupgrades keep working.Not in this PR (still open on #2814)
These wait on #2533, or belong elsewhere:
API compatibility
Assessment: none. These are Helm values and docs only.
Testing
helm unittest --strict deploy/helm/mecak8s: 123 pass. A new suite covers each setting, the fallback projection and every refusal.go test ./deploy/helm/mecak8s/ ./deploy/mecak8s-idbroker/: pass. A new test renders all seven settings, both fallback lists (the agent issuer fallback as a public key), the subject claim and a gateway entry, then loads the file with the realbrokerconfig.Loadand checks the values.golangci-linton./deploy/...: 0 issues.task docs:check: pass.