diff --git a/restic/templates/secret.yaml b/restic/templates/secret.yaml
index 51e93aff3de345912ae7807a41490d36c8a43343..5c12769659bb7ce92144fbde880287b0e3596ff7 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 a0a9051524b3096444fc51f2a86338319d233400..039b5751b247e1e1b9cb32bfa09c9b298281a5e9 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"