@@ -164,7 +164,9 @@ spec:
164
164
labels : {{- include "stackstorm-ha.labels" (list $ "st2api") | nindent 8 }}
165
165
annotations :
166
166
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
167
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
167
168
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
169
+ {{- end }}
168
170
{{- if .Values.st2api.postStartScript }}
169
171
checksum/post-start-script : {{ .Values.st2api.postStartScript | sha256sum }}
170
172
{{- end }}
@@ -548,7 +550,9 @@ spec:
548
550
labels : {{- include "stackstorm-ha.labels" (list $ "st2rulesengine") | nindent 8 }}
549
551
annotations :
550
552
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
553
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
551
554
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
555
+ {{- end }}
552
556
{{- if .Values.st2rulesengine.postStartScript }}
553
557
checksum/post-start-script : {{ .Values.st2rulesengine.postStartScript | sha256sum }}
554
558
{{- end }}
@@ -769,7 +773,9 @@ spec:
769
773
labels : {{- include "stackstorm-ha.labels" (list $ "st2workflowengine") | nindent 8 }}
770
774
annotations :
771
775
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
776
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
772
777
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
778
+ {{- end }}
773
779
{{- if .Values.st2workflowengine.postStartScript }}
774
780
checksum/post-start-script : {{ .Values.st2workflowengine.postStartScript | sha256sum }}
775
781
{{- end }}
@@ -886,7 +892,9 @@ spec:
886
892
labels : {{- include "stackstorm-ha.labels" (list $ "st2scheduler") | nindent 8 }}
887
893
annotations :
888
894
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
895
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
889
896
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
897
+ {{- end }}
890
898
{{- if .Values.st2scheduler.postStartScript }}
891
899
checksum/post-start-script : {{ .Values.st2scheduler.postStartScript | sha256sum }}
892
900
{{- end }}
@@ -1137,7 +1145,9 @@ spec:
1137
1145
annotations :
1138
1146
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }}
1139
1147
checksum/packs : {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }}
1148
+ {{- if and (ne "disable" (default "" $.Values.st2.datastore_crypto_key)) (not $.Values.st2.existingDatastoreSecret) }}
1140
1149
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") $ | sha256sum }}
1150
+ {{- end }}
1141
1151
{{- if $.Values.st2sensorcontainer.postStartScript }}
1142
1152
checksum/post-start-script : {{ $.Values.st2sensorcontainer.postStartScript | sha256sum }}
1143
1153
{{- end }}
@@ -1318,7 +1328,9 @@ spec:
1318
1328
annotations :
1319
1329
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
1320
1330
checksum/ssh : {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1331
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
1321
1332
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1333
+ {{- end }}
1322
1334
{{- if .Values.st2actionrunner.postStartScript }}
1323
1335
checksum/post-start-script : {{ .Values.st2actionrunner.postStartScript | sha256sum }}
1324
1336
{{- end }}
@@ -1574,7 +1586,9 @@ spec:
1574
1586
checksum/packs : {{ include (print $.Template.BasePath "/configmaps_packs.yaml") . | sha256sum }}
1575
1587
checksum/auth : {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }}
1576
1588
checksum/ssh : {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
1589
+ {{- if and (ne "disable" (default "" .Values.st2.datastore_crypto_key)) (not .Values.st2.existingDatastoreSecret) }}
1577
1590
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
1591
+ {{- end }}
1578
1592
{{- if .Values.st2.overrides }}
1579
1593
checksum/overrides : {{ include (print $.Template.BasePath "/configmaps_overrides.yaml") . | sha256sum }}
1580
1594
{{- end }}
0 commit comments