Skip to content

Commit 33856cd

Browse files
committed
change to str
1 parent 03259f4 commit 33856cd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

templates/deployments.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ spec:
101101
exec: # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
102102
# kubeproxy and kubelet both race
103103
# wait a bit to ensure kubeproxy has removed the iptables rule.
104-
command: [ "sleep", {{ .Values.st2auth.preStopSleep | default 10 }} ]
104+
command: [ "sleep", {{ .Values.st2auth.preStopSleep | default "10" }} ]
105105
postStart:
106106
exec:
107107
command: ["/bin/bash", "/post-start.sh"]
@@ -231,7 +231,7 @@ spec:
231231
exec: # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
232232
# kubeproxy and kubelet both race
233233
# wait a bit to ensure kubeproxy has removed the iptables rule.
234-
command: [ "sleep", {{ .Values.st2api.preStopSleep | default 10 }} ]
234+
command: [ "sleep", {{ .Values.st2api.preStopSleep | default "10" }} ]
235235
postStart:
236236
exec:
237237
command: ["/bin/bash", "/post-start.sh"]
@@ -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.st2stream.preStopSleep | default 10 }} ]
357+
command: [ "sleep", {{ .Values.st2stream.preStopSleep | default "10" }} ]
358358
postStart:
359359
exec:
360360
command: ["/bin/bash", "/post-start.sh"]
@@ -438,7 +438,7 @@ spec:
438438
exec: # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
439439
# kubeproxy and kubelet both race
440440
# wait a bit to ensure kubeproxy has removed the iptables rule.
441-
command: [ "sleep", {{ .Values.st2web.preStopSleep | default 10 }} ]
441+
command: [ "sleep", {{ .Values.st2web.preStopSleep | default "10" }} ]
442442
# Probe to check if app is running. Failure will lead to a pod restart.
443443
livenessProbe:
444444
httpGet:

values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ st2web:
381381
# The pod will not be marked as "running" until this script completes successfully.
382382
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
383383
postStartScript: ""
384-
preStopSleep: 10
384+
preStopSleep: "10"
385385

386386
# https://docs.stackstorm.com/reference/ha.html#st2auth
387387
# Multiple st2auth processes can be behind a load balancer in an active-active configuration.
@@ -417,7 +417,7 @@ st2auth:
417417
# The pod will not be marked as "running" until this script completes successfully.
418418
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
419419
postStartScript: ""
420-
preStopSleep: 10
420+
preStopSleep: "10"
421421
# mount extra volumes on the st2auth pod(s) (primarily useful for custom logging conf)
422422
## Note that Helm templating is supported in 'mount' and 'volume'
423423
extra_volumes: []
@@ -457,7 +457,7 @@ st2api:
457457
# The pod will not be marked as "running" until this script completes successfully.
458458
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
459459
postStartScript: ""
460-
preStopSleep: 10
460+
preStopSleep: "10"
461461
# mount extra volumes on the st2api pod(s) (primarily useful for custom logging conf)
462462
## Note that Helm templating is supported in 'mount' and 'volume'
463463
extra_volumes: []
@@ -497,7 +497,7 @@ st2stream:
497497
# The pod will not be marked as "running" until this script completes successfully.
498498
# see: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
499499
postStartScript: ""
500-
preStopSleep: 10
500+
preStopSleep: "10"
501501
# mount extra volumes on the st2stream pod(s) (primarily useful for custom logging conf)
502502
## Note that Helm templating is supported in 'mount' and 'volume'
503503
extra_volumes: []

0 commit comments

Comments
 (0)