18 lines
442 B
YAML
Raw Normal View History

2024-08-04 17:25:55 +02:00
{{- if .Values.configSecret.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "vault-unseal.fullname" . }}-conf
labels:
{{- include "vault-unseal.labels" . | nindent 4 }}
{{- with .Values.configSecret.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
stringData:
vault-unseal.yaml:
{{- with .Values.configSecret.stringData }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}