From bc91c1b3e0f4c9a21b5143121eb494d242de58cd Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Thu, 26 May 2022 16:35:36 +0200 Subject: [PATCH] fix: correct data type for restic secret --- restic/templates/secret.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restic/templates/secret.yaml b/restic/templates/secret.yaml index 5c12769..4d5b002 100644 --- a/restic/templates/secret.yaml +++ b/restic/templates/secret.yaml @@ -1,10 +1,10 @@ apiVersion: v1 -kind: ConfigMap +kind: Secret metadata: name: {{ include "restic-helm.fullname" . }} labels: {{- include "restic-helm.labels" . | nindent 4 }} -data: +stringData: RESTIC_PASSWORD: "{{ .Values.repository.key }}" RESTIC_REPOSITORY: "{{ .Values.repository.name }}" {{- .Values.auth | nindent 2 }} -- GitLab