Commit 4a66e02
committed
fix(chart): Render --spire-trust-domain independently of signatureVerification.enabled
The trust domain is consumed by two controllers in this operator binary:
- **AgentCardReconciler** (signature verification): uses it to build expected
SPIFFE IDs when verifying x5c chains on agent card signatures.
- **ClientRegistrationReconciler** (operator-managed Keycloak client lifecycle):
uses it to build SPIFFE-shaped client IDs of the form
spiffe://<trust-domain>/ns/<ns>/sa/<sa> when authbridge-config has
SPIRE_ENABLED=true.
The chart template gated --spire-trust-domain on signatureVerification.enabled.
As a result, clusters that use SPIRE for workload identity but do not enable A2A
signature enforcement fail client registration: the reconciler loops with
"cannot resolve Keycloak client id yet -- --spire-trust-domain is required"
every 30s and no agent ever gets registered in Keycloak.
Move --spire-trust-domain out of the signatureVerification.enabled block so it
is rendered whenever .Values.signatureVerification.spireTrustDomain is set,
regardless of whether signature verification is on. The signature-specific
flags (--require-a2a-signature, --signature-audit-mode,
--enforce-network-policies, --svid-expiry-grace-period, trust-bundle flags)
stay inside the gate.
Update the values.yaml comment to describe the new semantics. No default change.
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Hai Huang <huang195@gmail.com>1 parent 02569a9 commit 4a66e02
2 files changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
| |||
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
0 commit comments