Skip to content

Commit

Permalink
fix: update geoip job hooks and volume handling
Browse files Browse the repository at this point in the history
  • Loading branch information
patsevanton committed Oct 11, 2024
1 parent 3406f96 commit afbd250
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/sentry/templates/deployment-geoip-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Job
metadata:
name: geoip-install-job
annotations:
"helm.sh/hook": "post-install"
"helm.sh/hook": "post-install,post-upgrade"
"helm.sh/hook-weight": "9"
spec:
template:
Expand Down
2 changes: 1 addition & 1 deletion charts/sentry/templates/pvc-geoip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
"helm.sh/hook": "pre-install"
"helm.sh/hook": "pre-install,pre-upgrade"
"helm.sh/hook-weight": "-1"
spec:
accessModes:
Expand Down
6 changes: 3 additions & 3 deletions charts/sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ geodata:
## GKE, AWS & OpenStack)
# storageClass: "" # for example: csi-s3
size: 1Gi
volumeName: "" # for example: data-sentry-geoip
volumeName: "" # for example: data-sentry-geoip
# mountPath of the volume containing the database
mountPath: "" # for example: /usr/share/GeoIP
mountPath: "" # for example: /usr/share/GeoIP
# path to the geoip database inside the volumemount
path: "" # for example: /usr/share/GeoIP/GeoLite2-City.mmdb
path: "" # for example: /usr/share/GeoIP/GeoLite2-City.mmdb

sentry:
# to not generate a sentry-secret, use these 2 values to reference an existing secret
Expand Down

0 comments on commit afbd250

Please sign in to comment.