Skip to content

Commit

Permalink
add prestop script
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkounz committed Mar 9, 2023
1 parent 1fdcd8c commit 3ca31bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/graphprotocol-node/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
lifecycle:
preStop:
exec:
command:
- /bin/sh
- -c
- sleep 60
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{ if eq .Values.role "index-node" }}
Expand Down

0 comments on commit 3ca31bf

Please sign in to comment.