Parent
Part of #146 (Cross-Cluster Agent Identity Federation epic).
Status
Blocked by validation gate. Depends on SPIRE topology design completion.
Goal
Add optional spec.identity.spiffe fields to the AgentWorkload CRD in api/v1alpha1/agentworkload_types.go.
Scope
Backward compatibility
All fields optional. Existing AgentWorkloads continue to validate without changes.
Acceptance
- CRD field documented in API reference
- Webhook tests pass
make validate green
Parent
Part of #146 (Cross-Cluster Agent Identity Federation epic).
Status
Blocked by validation gate. Depends on SPIRE topology design completion.
Goal
Add optional
spec.identity.spiffefields to theAgentWorkloadCRD inapi/v1alpha1/agentworkload_types.go.Scope
SpiffeIdentitySpecinapi/v1alpha1/agentworkload_types.go:IdentitySpec(create if absent) underAgentWorkloadSpecapi/v1alpha1/agentworkload_webhook.go:trustDomainrequired ifenabled=trueinjectionModemust be one of three valid valuesfederatedToentries must be valid trust domain namesmake manifestsmake generateBackward compatibility
All fields optional. Existing AgentWorkloads continue to validate without changes.
Acceptance
make validategreen