File tree 3 files changed +34
-6
lines changed
3 files changed +34
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: v1
3
3
appVersion : v0.34.0
4
4
description : A Helm chart for Atlantis https://www.runatlantis.io
5
5
name : atlantis
6
- version : 5.17.1
6
+ version : 5.17.2
7
7
keywords :
8
8
- terraform
9
9
home : https://www.runatlantis.io
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ tests:
111
111
- containerPort : 4141
112
112
name : atlantis
113
113
- notExists :
114
- path : spec.template.spec.containers[0].lifeCycle
114
+ path : spec.template.spec.containers[0].lifecycle
115
115
- notExists :
116
116
path : spec.template.spec.containers[0].envFrom
117
117
- equal :
@@ -1167,3 +1167,23 @@ tests:
1167
1167
value : " 4141"
1168
1168
- name : ATLANTIS_ATLANTIS_URL
1169
1169
value : http://
1170
+ - it : lifecycle
1171
+ template : statefulset.yaml
1172
+ set :
1173
+ lifecycle :
1174
+ preStop :
1175
+ exec :
1176
+ command :
1177
+ - /bin/sh
1178
+ - -c
1179
+ - while pgrep -x "terraform|tofu|terragrunt" > /dev/null; do sleep 1; done
1180
+ asserts :
1181
+ - equal :
1182
+ path : spec.template.spec.containers[0].lifecycle
1183
+ value :
1184
+ preStop :
1185
+ exec :
1186
+ command :
1187
+ - /bin/sh
1188
+ - -c
1189
+ - while pgrep -x "terraform|tofu|terragrunt" > /dev/null; do sleep 1; done
Original file line number Diff line number Diff line change @@ -331,10 +331,6 @@ statefulSet:
331
331
# -- Option to share process namespace with atlantis container.
332
332
shareProcessNamespace : false
333
333
334
- # -- (int) Optionally customize the termination grace period in seconds.
335
- # @default -- default depends on the kubernetes version.
336
- terminationGracePeriodSeconds :
337
-
338
334
ingress :
339
335
enabled : true
340
336
ingressClassName :
@@ -756,6 +752,18 @@ redisSecretName: ""
756
752
# -- Key within the existing Redis secret that contains the password value.
757
753
redisSecretPasswordKey : password
758
754
755
+ # -- (int) Optionally customize the termination grace period in seconds.
756
+ # @default -- default depends on the kubernetes version.
757
+ terminationGracePeriodSeconds :
758
+ # terminationGracePeriodSeconds: 300
759
+
759
760
# -- Set lifecycle hooks.
760
761
# https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/.
761
762
lifecycle : {}
763
+ # lifecycle:
764
+ # preStop:
765
+ # exec:
766
+ # command:
767
+ # - /bin/sh
768
+ # - -c
769
+ # - while pgrep -x "terraform|tofu|terragrunt" > /dev/null; do sleep 1; done
You can’t perform that action at this time.
0 commit comments