From 7f9dbb7cca4eb1db7427177412d58d7269911c8d Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Thu, 26 May 2022 15:32:54 +0200 Subject: [PATCH] fix: restic auth templating --- restic/templates/secret.yaml | 2 +- restic/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/restic/templates/secret.yaml b/restic/templates/secret.yaml index 51e93af..5c12769 100644 --- a/restic/templates/secret.yaml +++ b/restic/templates/secret.yaml @@ -7,4 +7,4 @@ metadata: data: RESTIC_PASSWORD: "{{ .Values.repository.key }}" RESTIC_REPOSITORY: "{{ .Values.repository.name }}" - {{- toYaml .Values.auth | nindent 2 }} + {{- .Values.auth | nindent 2 }} diff --git a/restic/values.yaml b/restic/values.yaml index a0a9051..039b575 100644 --- a/restic/values.yaml +++ b/restic/values.yaml @@ -12,7 +12,7 @@ volume: |- schedule: "0 0 * * *" -auth: +auth: |- B2_ACCOUNT_ID: "AzureDiamond" B2_ACCOUNT_KEY: "hunter2" -- GitLab