diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index 33cc0a2..d3e2809 100644 --- a/helm/template/Chart.yaml +++ b/helm/template/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: template description: A Helm library chart containing common templates, keeping application templates short type: library -version: 0.1.10 +version: 0.1.11 maintainers: - name: Jim Martens url: https://2martens.de diff --git a/helm/template/templates/_secret.yaml b/helm/template/templates/_secret.yaml index 04e9364..0c05b80 100644 --- a/helm/template/templates/_secret.yaml +++ b/helm/template/templates/_secret.yaml @@ -7,8 +7,8 @@ metadata: labels: {{- include "template.labels" . | nindent 4 }} data: - {{- with .Values.secrets }} - {{- toYaml . | b64enc | nindent 2 }} + {{- range $key, $value := .Values.secrets }} + {{ $key }}: {{ $value | b64enc }} {{- end}} {{- end }} {{- end }}