custom-hashicorp-vault-helm/templates/vault-keyvault-secret.yaml
Alan Bridgeman f40cbdf6dd
All checks were successful
Deploy the Helm Chart / build (push) Successful in 7s
Initial code commit + initial automation stuff + etc...
2025-12-18 22:23:37 -06:00

12 lines
No EOL
387 B
YAML

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