Skip to content

Commit 8a1f135

Browse files
committed
fix st2auth, st2stream, st2web
1 parent cf28aae commit 8a1f135

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/deployments.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ spec:
317317
initContainers:
318318
{{- include "stackstorm-ha.init-containers-wait-for-db" . | nindent 6 }}
319319
{{- include "stackstorm-ha.init-containers-wait-for-mq" . | nindent 6 }}
320-
terminationGracePeriodSeconds: {{ .Values.st2workflowengine.terminationGracePeriodSeconds | default 30 }}
320+
terminationGracePeriodSeconds: {{ .Values.st2stream.terminationGracePeriodSeconds | default 30 }}
321321
containers:
322322
- name: st2stream
323323
image: '{{ template "stackstorm-ha.imageRepository" . }}/st2stream:{{ tpl (.Values.st2stream.image.tag | default .Values.image.tag) . }}'
@@ -354,7 +354,7 @@ spec:
354354
exec: # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
355355
# kubeproxy and kubelet both race
356356
# wait a bit to ensure kubeproxy has removed the iptables rule.
357-
command: [ "sleep", {{ .Values.st2.st2api.preStopSleep | default 10 }} ]
357+
command: [ "sleep", {{ .Values.st2.st2stream.preStopSleep | default 10 }} ]
358358
postStart:
359359
exec:
360360
command: ["/bin/bash", "/post-start.sh"]
@@ -423,7 +423,7 @@ spec:
423423
{{- if .Values.image.pullSecret }}
424424
- name: {{ .Values.image.pullSecret }}
425425
{{- end }}
426-
terminationGracePeriodSeconds: {{ .Values.st2api.terminationGracePeriodSeconds | default 30 }}
426+
terminationGracePeriodSeconds: {{ .Values.st2web.terminationGracePeriodSeconds | default 30 }}
427427
containers:
428428
- name: st2web
429429
image: '{{ template "stackstorm-ha.imageRepository" . }}/st2web:{{ tpl (.Values.st2web.image.tag | default .Values.image.tag) . }}'

0 commit comments

Comments
 (0)