Skip to content

Commit

Permalink
pre_delete_hook.yaml should support release namespace (#2342)
Browse files Browse the repository at this point in the history
* pre_delete_hook.yaml should support release namespace

* Update scripts.yaml

Co-authored-by: Robert Bailey <[email protected]>
  • Loading branch information
rayterrill and roberthbailey authored Oct 29, 2021
1 parent af4db07 commit 2e78375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/helm/agones/templates/hooks/pre_delete_hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions install/helm/agones/templates/hooks/scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 2e78375

Please sign in to comment.