Fix secrets configuration

This commit is contained in:
2023-10-28 23:39:10 +02:00
parent 42de58d5be
commit ba9bb5ed7e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: template name: template
description: A Helm library chart containing common templates, keeping application templates short description: A Helm library chart containing common templates, keeping application templates short
type: library type: library
version: 0.1.10 version: 0.1.11
maintainers: maintainers:
- name: Jim Martens - name: Jim Martens
url: https://2martens.de url: https://2martens.de
+2 -2
View File
@@ -7,8 +7,8 @@ metadata:
labels: labels:
{{- include "template.labels" . | nindent 4 }} {{- include "template.labels" . | nindent 4 }}
data: data:
{{- with .Values.secrets }} {{- range $key, $value := .Values.secrets }}
{{- toYaml . | b64enc | nindent 2 }} {{ $key }}: {{ $value | b64enc }}
{{- end}} {{- end}}
{{- end }} {{- end }}
{{- end }} {{- end }}