fix: allow multiple snapshotgroups per cluster
This commit is contained in:
parent
33e556002c
commit
a4329a1937
@ -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:
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user