Skip to content

Commit a70e01e

Browse files
committed
fix: do not use helm hooks for pv as it does not work
1 parent 1a51cae commit a70e01e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

charts/sentry/templates/geoip/deployment-geoip-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Job
44
metadata:
55
name: geoip-install-job
66
annotations:
7-
"helm.sh/hook": "pre-install,pre-upgrade"
7+
"helm.sh/hook": "post-install,post-upgrade"
88
"helm.sh/hook-weight": "9"
99
spec:
1010
template:

charts/sentry/templates/geoip/pvc-geoip.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ metadata:
88
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
11-
annotations:
12-
"helm.sh/hook": "pre-install,pre-upgrade"
13-
"helm.sh/hook-weight": "-1"
1411
spec:
1512
accessModes:
1613
{{- range .Values.geodata.persistence.accessModes }}

0 commit comments

Comments
 (0)