From f8fed3625a5650733690f70bf789ac39b90122a6 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 20 Aug 2023 20:05:14 +0200 Subject: [PATCH] Store secrets directly as base64 encoded --- 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 f1dbef7..cfba1b3 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.4 +version: 0.1.5 maintainers: - name: Jim Martens url: https://2martens.de diff --git a/helm/template/templates/_secret.yaml b/helm/template/templates/_secret.yaml index 0a8246e..7f2356f 100644 --- a/helm/template/templates/_secret.yaml +++ b/helm/template/templates/_secret.yaml @@ -6,7 +6,7 @@ metadata: name: {{ include "template.fullname" . }} labels: {{- include "template.labels" . | nindent 4 }} -stringData: +data: {{- with .Values.secrets }} {{- toYaml . | nindent 2 }} {{- end}}