12 lines
306 B
YAML
12 lines
306 B
YAML
|
{{- if .Values.clusterBackup.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: kubezero-backup-restic
|
||
|
namespace: kube-system
|
||
|
type: Opaque
|
||
|
data:
|
||
|
repository: {{ default "" .Values.clusterBackup.repository | b64enc }}
|
||
|
password: {{ default "" .Values.clusterBackup.password | b64enc }}
|
||
|
{{- end }}
|