Add by default k8s workload registrar compatible SPIFFEIDs to controller-manager setup

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:13 +01:00
committed by Marco Franssen
parent 31a75aeb43
commit 456c9cc53b
4 changed files with 39 additions and 0 deletions
@@ -142,6 +142,18 @@ controllerManager:
port: 443
annotations: {}
ignoreNamespaces: []
identities:
enabled: true
spiffeIDTemplate: spiffe://{{ .TrustDomain }}/ns/{{ .PodMeta.Namespace }}/sa/{{ .PodSpec.ServiceAccountName }}
podSelector: {}
# matchLabels:
# spiffe.io/spiffe-id: "true"
dnsNameTemplates: []
# - '{{ index .PodMeta.Labels "app.kubernetes.io/name" }}.{{ .PodMeta.Namespace }}.svc.cluster.local'
k8sWorkloadRegistrar:
# -- The `k8s-workload-registrar` is deprecated in favor of the `spire-controller-manager`
# A next release will switch to use the `spire-controller-manager` by default.