Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ type NamespaceConfig struct {
DefaultOutboundPolicy string
ClientAuthType string // "client-secret" or "federated-jwt"
SpiffeIdpAlias string // Keycloak SPIFFE Identity Provider alias (e.g., "spire-spiffe")
JWTAudience string // JWT audience for SPIFFE authentication

// From "spiffe-helper-config" ConfigMap
SpiffeHelperConf string // raw helper.conf content
Expand Down Expand Up @@ -89,7 +88,6 @@ func ReadNamespaceConfig(ctx context.Context, c client.Reader, namespace string)
cfg.DefaultOutboundPolicy = cm.Data["DEFAULT_OUTBOUND_POLICY"]
cfg.ClientAuthType = cm.Data["CLIENT_AUTH_TYPE"]
cfg.SpiffeIdpAlias = cm.Data["SPIFFE_IDP_ALIAS"]
cfg.JWTAudience = cm.Data["JWT_AUDIENCE"]
}

// Note: keycloak-admin-secret is not read here. The resolved container builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ type ResolvedConfig struct {
DefaultOutboundPolicy string
ClientAuthType string // "client-secret" or "federated-jwt"
SpiffeIdpAlias string // Keycloak SPIFFE Identity Provider alias
JWTAudience string // JWT audience for SPIFFE authentication

// Sidecar configs — from namespace CMs (not overridable by AgentRuntime v1alpha1)
SpiffeHelperConf string
Expand Down Expand Up @@ -89,7 +88,6 @@ func ResolveConfig(platform *config.PlatformConfig, ns *NamespaceConfig, ar *Age
DefaultOutboundPolicy: ns.DefaultOutboundPolicy,
ClientAuthType: ns.ClientAuthType,
SpiffeIdpAlias: ns.SpiffeIdpAlias,
JWTAudience: ns.JWTAudience,
SpiffeHelperConf: ns.SpiffeHelperConf,
EnvoyYAML: ns.EnvoyYAML,
AuthproxyRoutesYAML: ns.AuthproxyRoutesYAML,
Expand Down
Loading