diff --git a/charts/kubezero-redis/Chart.yaml b/charts/kubezero-redis/Chart.yaml index cbd82457..76828ffc 100644 --- a/charts/kubezero-redis/Chart.yaml +++ b/charts/kubezero-redis/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezero-redis description: KubeZero Umbrella Chart for Redis HA type: application -version: 0.3.2 +version: 0.3.3 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: diff --git a/charts/kubezero-redis/templates/snapshotgroup.yaml b/charts/kubezero-redis/templates/snapshotgroup.yaml index 45d62b79..640e8592 100644 --- a/charts/kubezero-redis/templates/snapshotgroup.yaml +++ b/charts/kubezero-redis/templates/snapshotgroup.yaml @@ -1,12 +1,12 @@ -{{- range .Values.snapshotgroups }} +{{- range $ssg := .Values.snapshotgroups }} apiVersion: gemini.fairwinds.com/v1beta1 kind: SnapshotGroup metadata: - name: {{ .name }} + name: {{ $ssg.name }} namespace: {{ $.Release.Namespace }} spec: persistentVolumeClaim: - claimName: {{ .claimName }} + claimName: {{ $ssg.claimName }} schedule: - {{- toYaml .schedule | nindent 4 }} + {{- toYaml $ssg.schedule | nindent 4 }} {{- end }}