KubeZero/charts/kubezero-addons/templates/cluster-backup/secret.yaml

12 lines
343 B
YAML
Raw Normal View History

{{- if and .Values.clusterBackup.enabled .Values.clusterBackup.repository }}
2021-12-01 12:35:18 +00:00
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 }}