custom-hashicorp-vault-helm/templates/vault-keyvault-secret.yaml
Alan Bridgeman 57d15323c9
All checks were successful
Deploy the Helm Chart / build (push) Successful in 10s
Forgot to remove a .vault. (unneccessary root key) from one of the conditionals in a template
2025-12-19 17:21:16 -06:00

12 lines
No EOL
358 B
YAML

{{- if and (.Values.enabled) (eq .Values.type "azure") -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "vault.fullname" . }}-secret
type: opaque
data:
client-id: {{ .Values.clientId | b64enc }}
client-secret: {{ .Values.clientSecret | b64enc}}
name: {{ .Values.vaultName | b64enc }}
tenant-id: {{ .Values.tenantId | b64enc }}
{{- end -}}