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 }}