diff --git a/install/helm/agones/templates/hooks/pre_delete_hook.yaml b/install/helm/agones/templates/hooks/pre_delete_hook.yaml index abafa827ba..4db16d7e75 100644 --- a/install/helm/agones/templates/hooks/pre_delete_hook.yaml +++ b/install/helm/agones/templates/hooks/pre_delete_hook.yaml @@ -17,6 +17,7 @@ apiVersion: batch/v1 kind: Job metadata: name: "{{.Release.Name}}-delete-agones-resources" + namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/managed-by: {{.Release.Service | quote }} app.kubernetes.io/instance: {{.Release.Name | quote }} diff --git a/install/helm/agones/templates/hooks/scripts.yaml b/install/helm/agones/templates/hooks/scripts.yaml index 67b9bb54d4..bd0c105257 100644 --- a/install/helm/agones/templates/hooks/scripts.yaml +++ b/install/helm/agones/templates/hooks/scripts.yaml @@ -17,6 +17,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: delete-agones-resources + namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/managed-by: {{.Release.Service | quote }} app.kubernetes.io/instance: {{.Release.Name | quote }}