opengist/deploy/helm/templates/secret.yaml

13 lines
310 B
YAML
Raw Normal View History

2024-09-03 23:05:10 +00:00
apiVersion: v1
kind: Secret
metadata:
name: {{ include "opengist.fullname" . }}-secret
namespace: {{ .Release.Namespace }}
labels:
{{ include "opengist.labels" . | indent 4 }}
type: Opaque
data:
{{- range $key, $value := .Values.configSecret }}
{{ $key }}: {{ $value | b64enc | quote }}
{{- end }}