fix: allow multiple snapshotgroups per cluster
This commit is contained in:
parent
33e556002c
commit
a4329a1937
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-redis
|
name: kubezero-redis
|
||||||
description: KubeZero Umbrella Chart for Redis HA
|
description: KubeZero Umbrella Chart for Redis HA
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.2
|
version: 0.3.3
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{{- range .Values.snapshotgroups }}
|
{{- range $ssg := .Values.snapshotgroups }}
|
||||||
apiVersion: gemini.fairwinds.com/v1beta1
|
apiVersion: gemini.fairwinds.com/v1beta1
|
||||||
kind: SnapshotGroup
|
kind: SnapshotGroup
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .name }}
|
name: {{ $ssg.name }}
|
||||||
namespace: {{ $.Release.Namespace }}
|
namespace: {{ $.Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .claimName }}
|
claimName: {{ $ssg.claimName }}
|
||||||
schedule:
|
schedule:
|
||||||
{{- toYaml .schedule | nindent 4 }}
|
{{- toYaml $ssg.schedule | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user