scale-catalog/stable/kopia/11.10.10/templates/_secrets.tpl

12 lines
345 B
Smarty
Raw Permalink Normal View History

2024-07-13 07:59:30 +00:00
{{/* 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 }}