diff --git a/charts/sentry/templates/deployment-geoip-job.yaml b/charts/sentry/templates/deployment-geoip-job.yaml index 439cb623e..58c88754d 100644 --- a/charts/sentry/templates/deployment-geoip-job.yaml +++ b/charts/sentry/templates/deployment-geoip-job.yaml @@ -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: diff --git a/charts/sentry/templates/pvc-geoip.yaml b/charts/sentry/templates/pvc-geoip.yaml index d8ee96010..42814a492 100644 --- a/charts/sentry/templates/pvc-geoip.yaml +++ b/charts/sentry/templates/pvc-geoip.yaml @@ -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: diff --git a/charts/sentry/values.yaml b/charts/sentry/values.yaml index f6a77918c..eca606ae4 100644 --- a/charts/sentry/values.yaml +++ b/charts/sentry/values.yaml @@ -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