scale-catalog/stable/kopia/11.10.9/templates/_secrets.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

12 lines
345 B
Smarty

{{/* Define the secret */}}
{{- define "kopia.secrets" -}}
{{- $secretName := (printf "%s-kopia-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) -}}
{{- $kopia := .Values.kopia -}}
enabled: true
data:
USER: {{ $kopia.user | default "user" | quote }}
KOPIA_PASSWORD: {{ $kopia.password | default "secret" | quote }}
{{- end }}