diff --git a/scripts/helmcharts/databases/templates/job.yaml b/scripts/helmcharts/databases/templates/job.yaml index e85e59ccd..99d97f26f 100644 --- a/scripts/helmcharts/databases/templates/job.yaml +++ b/scripts/helmcharts/databases/templates/job.yaml @@ -4,7 +4,7 @@ apiVersion: batch/v1 kind: Job metadata: name: update-db-passwords - namespace: default + namespace: "{{ .Release.Namespace }}" annotations: "helm.sh/hook": pre-upgrade "helm.sh/hook-weight": "-6" # Higher precidence, so the first the config map will get created.