add pod labels to spire server values (#271)

* add pod labels to spire server values

The reason for this change is to be able to integrate spire with Azure
Workload Idenity. To enable this, a label of `azure.workload.identity/use: "true"` needs
to be added to the pods metadata.

https://learn.microsoft.com/en-us/azure/aks/learn/tutorial-kubernetes-workload-identity#deploy-the-workload

Signed-off-by: Rory Houlihan <[email protected]>

* trim whitespace from podLabels
Signed-off-by: Rory Houlihan <[email protected]>

---------

Signed-off-by: Rory Houlihan <[email protected]>
This commit is contained in:
McRors Calhoun
2024-03-01 08:37:38 -08:00
committed by GitHub
parent f512b06419
commit 5849ea2c82
3 changed files with 7 additions and 0 deletions
@@ -43,6 +43,9 @@ spec:
component: server
release: {{ .Release.Name }}
release-namespace: {{ .Release.Namespace }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: