charts/netbox/templates/secrets.yaml
Alexander Olofsson c8476d492e Initial commit
2019-05-17 10:57:08 +02:00

13 lines
417 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "netbox.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "netbox.name" . }}
helm.sh/chart: {{ include "netbox.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
{{- range $key, $value := .Values.env.secrets }}
{{ $key }}: {{ $value | b64enc | quote }}
{{- end }}