Skip to content

Commit 0624dcb

Browse files
authored
fix: wrong hook for post-upgrade-2-5-1 (#284)
1 parent d088aee commit 0624dcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

post-upgrade-2-5-1-chart/templates/installer-post-upgrade-2-5-1.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: helm-runner
77
namespace: {{ .Release.Namespace }}
88
annotations:
9-
"helm.sh/hook": pre-install,pre-upgrade
9+
"helm.sh/hook": post-install,post-upgrade
1010
"helm.sh/hook-weight": "0"
1111
---
1212
{{- end }}
@@ -19,7 +19,7 @@ kind: ClusterRoleBinding
1919
metadata:
2020
name: helm-runner-cluster-admin
2121
annotations:
22-
"helm.sh/hook": pre-install,pre-upgrade
22+
"helm.sh/hook": post-install,post-upgrade
2323
"helm.sh/hook-weight": "1"
2424
roleRef:
2525
apiGroup: rbac.authorization.k8s.io
@@ -40,7 +40,7 @@ metadata:
4040
name: krateo-post-upgrade-2-5-1
4141
namespace: {{ .Release.Namespace }}
4242
annotations:
43-
"helm.sh/hook": pre-install,pre-upgrade
43+
"helm.sh/hook": post-install,post-upgrade
4444
"helm.sh/hook-weight": "2"
4545
spec:
4646
backoffLimit: 4

0 commit comments

Comments
 (0)