Skip to content

Commit

Permalink
GEFEST-1481 Добавил preStop хук для api в чарте Keys
Browse files Browse the repository at this point in the history
  • Loading branch information
salkrr committed Jan 29, 2025
1 parent bc152b0 commit 0295f06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/keys/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ spec:
httpGet:
path: /healthcheck
port: http
lifecycle:
preStop:
exec:
command: [ "/bin/sh", "-c", "sleep 30s" ]
resources:
{{- toYaml .Values.api.resources | nindent 12 }}
env:
Expand Down

0 comments on commit 0295f06

Please sign in to comment.