Skip to content

Commit 5a84d88

Browse files
committed
featue(objectStore): add retentionPolicy to ObjectStore
1 parent b24dec1 commit 5a84d88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/cluster/templates/objectStore.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ kind: ObjectStore
44
metadata:
55
name: {{ include "cluster.fullname" $ }}-object-store
66
spec:
7+
{{- with .Values.backups.retentionPolicy }}
8+
retentionPolicy: {{ . }}
9+
{{- end }}
710
configuration:
811
{{- if and (eq .Values.mode "recovery") (eq .Values.recovery.method "object_store") -}}
912
{{- $d := dict "chartFullname" (include "cluster.fullname" .) "scope" .Values.recovery "secretPrefix" "recovery" -}}

0 commit comments

Comments
 (0)