From f9abf4833c8bc2b6fd1875a9c0542c21d127fff0 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 20 Aug 2023 23:07:37 +0200 Subject: [PATCH] Encode secret values --- helm/template/Chart.yaml | 2 +- helm/template/templates/_secret.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index cfba1b3..aae1e62 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.5 +version: 0.1.6 maintainers: - name: Jim Martens url: https://2martens.de diff --git a/helm/template/templates/_secret.yaml b/helm/template/templates/_secret.yaml index 7f2356f..04e9364 100644 --- a/helm/template/templates/_secret.yaml +++ b/helm/template/templates/_secret.yaml @@ -8,7 +8,7 @@ metadata: {{- include "template.labels" . | nindent 4 }} data: {{- with .Values.secrets }} - {{- toYaml . | nindent 2 }} + {{- toYaml . | b64enc | nindent 2 }} {{- end}} {{- end }} {{- end }}