Skip to content

Commit

Permalink
Add tolerations for delete hook script (#1521)
Browse files Browse the repository at this point in the history
Tolerations for delete Agones resources same as for the controller.

Co-authored-by: Mark Mandel <markmandel@google.com>
  • Loading branch information
aLekSer and markmandel committed May 7, 2020
1 parent d2dc3ed commit 6d5174e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install/helm/agones/templates/hooks/pre_delete_hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
volumeMounts:
- name: script
mountPath: /scripts/
{{- if .Values.agones.controller.tolerations }}
tolerations:
{{ toYaml .Values.agones.controller.tolerations | indent 8 }}
{{- end }}
volumes:
- name: script
configMap:
Expand Down

0 comments on commit 6d5174e

Please sign in to comment.