Skip to content

Commit ce2f145

Browse files
committed
added pre-rollback hooks to the objectstores
Signed-off-by: Itay Grudev <itay@verito.digital>
1 parent 5da6157 commit ce2f145

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/cluster/templates/backup-objectstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ include "cluster.fullname" . }}-backups
66
namespace: {{ include "cluster.namespace" . }}
77
annotations:
8-
"helm.sh/hook": pre-install,pre-upgrade
8+
"helm.sh/hook": pre-install,pre-upgrade,pre-rollback
99
{{- with .Values.cluster.annotations }}
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}

charts/cluster/templates/recovery-objectstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ include "cluster.fullname" . }}-recovery
66
namespace: {{ include "cluster.namespace" . }}
77
annotations:
8-
"helm.sh/hook": pre-install,pre-upgrade
8+
"helm.sh/hook": pre-install,pre-upgrade,pre-rollback
99
{{- with .Values.cluster.annotations }}
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}

0 commit comments

Comments
 (0)