|
35 | 35 | annotations: |
36 | 36 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
37 | 37 | checksum/auth: {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }} |
| 38 | + {{- if .Values.st2auth.postStartScript }} |
| 39 | + checksum/post-start-script: {{ .Values.st2auth.postStartScript | sha256sum }} |
| 40 | + {{- end }} |
38 | 41 | {{- if .Values.st2auth.annotations }} |
39 | 42 | {{- toYaml .Values.st2auth.annotations | nindent 8 }} |
40 | 43 | {{- end }} |
@@ -158,6 +161,9 @@ spec: |
158 | 161 | annotations: |
159 | 162 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
160 | 163 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 164 | + {{- if .Values.st2api.postStartScript }} |
| 165 | + checksum/post-start-script: {{ .Values.st2api.postStartScript | sha256sum }} |
| 166 | + {{- end }} |
161 | 167 | {{- if .Values.st2api.annotations }} |
162 | 168 | {{- toYaml .Values.st2api.annotations | nindent 8 }} |
163 | 169 | {{- end }} |
@@ -281,6 +287,9 @@ spec: |
281 | 287 | heritage: {{ .Release.Service }} |
282 | 288 | annotations: |
283 | 289 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 290 | + {{- if .Values.st2stream.postStartScript }} |
| 291 | + checksum/post-start-script: {{ .Values.st2stream.postStartScript | sha256sum }} |
| 292 | + {{- end }} |
284 | 293 | {{- if .Values.st2stream.annotations }} |
285 | 294 | {{- toYaml .Values.st2stream.annotations | nindent 8 }} |
286 | 295 | {{- end }} |
@@ -372,6 +381,9 @@ spec: |
372 | 381 | heritage: {{ .Release.Service }} |
373 | 382 | annotations: |
374 | 383 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2web.yaml") . | sha256sum }} |
| 384 | + {{- if .Values.st2web.postStartScript }} |
| 385 | + checksum/post-start-script: {{ .Values.st2web.postStartScript | sha256sum }} |
| 386 | + {{- end }} |
375 | 387 | {{- if .Values.st2web.annotations }} |
376 | 388 | {{- toYaml .Values.st2web.annotations | nindent 8 }} |
377 | 389 | {{- end }} |
@@ -494,6 +506,9 @@ spec: |
494 | 506 | heritage: {{ .Release.Service }} |
495 | 507 | annotations: |
496 | 508 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 509 | + {{- if .Values.st2rulesengine.postStartScript }} |
| 510 | + checksum/post-start-script: {{ .Values.st2rulesengine.postStartScript | sha256sum }} |
| 511 | + {{- end }} |
497 | 512 | {{- if .Values.st2rulesengine.annotations }} |
498 | 513 | {{- toYaml .Values.st2rulesengine.annotations | nindent 8 }} |
499 | 514 | {{- end }} |
@@ -594,6 +609,9 @@ spec: |
594 | 609 | heritage: {{ .Release.Service }} |
595 | 610 | annotations: |
596 | 611 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 612 | + {{- if .Values.st2timersengine.postStartScript }} |
| 613 | + checksum/post-start-script: {{ .Values.st2timersengine.postStartScript | sha256sum }} |
| 614 | + {{- end }} |
597 | 615 | {{- if .Values.st2timersengine.annotations }} |
598 | 616 | {{- toYaml .Values.st2timersengine.annotations | nindent 8 }} |
599 | 617 | {{- end }} |
@@ -686,6 +704,9 @@ spec: |
686 | 704 | annotations: |
687 | 705 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
688 | 706 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 707 | + {{- if .Values.st2workflowengine.postStartScript }} |
| 708 | + checksum/post-start-script: {{ .Values.st2workflowengine.postStartScript | sha256sum }} |
| 709 | + {{- end }} |
689 | 710 | {{- if .Values.st2workflowengine.annotations }} |
690 | 711 | {{- toYaml .Values.st2workflowengine.annotations | nindent 8 }} |
691 | 712 | {{- end }} |
@@ -790,6 +811,9 @@ spec: |
790 | 811 | annotations: |
791 | 812 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
792 | 813 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 814 | + {{- if .Values.st2scheduler.postStartScript }} |
| 815 | + checksum/post-start-script: {{ .Values.st2scheduler.postStartScript | sha256sum }} |
| 816 | + {{- end }} |
793 | 817 | {{- if .Values.st2scheduler.annotations }} |
794 | 818 | {{- toYaml .Values.st2scheduler.annotations | nindent 8 }} |
795 | 819 | {{- end }} |
@@ -894,6 +918,9 @@ spec: |
894 | 918 | heritage: {{ .Release.Service }} |
895 | 919 | annotations: |
896 | 920 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 921 | + {{- if .Values.st2notifier.postStartScript }} |
| 922 | + checksum/post-start-script: {{ .Values.st2notifier.postStartScript | sha256sum }} |
| 923 | + {{- end }} |
897 | 924 | {{- if .Values.st2notifier.annotations }} |
898 | 925 | {{- toYaml .Values.st2notifier.annotations | nindent 8 }} |
899 | 926 | {{- end }} |
@@ -990,6 +1017,9 @@ spec: |
990 | 1017 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }} |
991 | 1018 | checksum/packs: {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }} |
992 | 1019 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") $ | sha256sum }} |
| 1020 | + {{- if $.Values.st2sensorcontainer.postStartScript }} |
| 1021 | + checksum/post-start-script: {{ $.Values.st2sensorcontainer.postStartScript | sha256sum }} |
| 1022 | + {{- end }} |
993 | 1023 | {{- if .annotations }} |
994 | 1024 | {{- toYaml .annotations | nindent 8 }} |
995 | 1025 | {{- end }} |
@@ -1130,6 +1160,9 @@ spec: |
1130 | 1160 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
1131 | 1161 | checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }} |
1132 | 1162 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 1163 | + {{- if .Values.st2actionrunner.postStartScript }} |
| 1164 | + checksum/post-start-script: {{ .Values.st2actionrunner.postStartScript | sha256sum }} |
| 1165 | + {{- end }} |
1133 | 1166 | {{- if .Values.st2actionrunner.annotations }} |
1134 | 1167 | {{- toYaml .Values.st2actionrunner.annotations | nindent 8 }} |
1135 | 1168 | {{- end }} |
@@ -1261,6 +1294,9 @@ spec: |
1261 | 1294 | heritage: {{ .Release.Service }} |
1262 | 1295 | annotations: |
1263 | 1296 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 1297 | + {{- if .Values.st2garbagecollector.postStartScript }} |
| 1298 | + checksum/post-start-script: {{ .Values.st2garbagecollector.postStartScript | sha256sum }} |
| 1299 | + {{- end }} |
1264 | 1300 | {{- if .Values.st2garbagecollector.annotations }} |
1265 | 1301 | {{- toYaml .Values.st2garbagecollector.annotations | nindent 8 }} |
1266 | 1302 | {{- end }} |
@@ -1355,6 +1391,9 @@ spec: |
1355 | 1391 | checksum/auth: {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }} |
1356 | 1392 | checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }} |
1357 | 1393 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 1394 | + {{- if .Values.st2client.postStartScript }} |
| 1395 | + checksum/post-start-script: {{ .Values.st2client.postStartScript | sha256sum }} |
| 1396 | + {{- end }} |
1358 | 1397 | {{- if .Values.st2client.annotations }} |
1359 | 1398 | {{- toYaml .Values.st2client.annotations | nindent 8 }} |
1360 | 1399 | {{- end }} |
@@ -1528,6 +1567,9 @@ spec: |
1528 | 1567 | heritage: {{ .Release.Service }} |
1529 | 1568 | annotations: |
1530 | 1569 | checksum/chatops: {{ include (print $.Template.BasePath "/secrets_st2chatops.yaml") . | sha256sum }} |
| 1570 | + {{- if .Values.st2chatops.postStartScript }} |
| 1571 | + checksum/post-start-script: {{ .Values.st2chatops.postStartScript | sha256sum }} |
| 1572 | + {{- end }} |
1531 | 1573 | {{- if .Values.st2chatops.annotations }} |
1532 | 1574 | {{- toYaml .Values.st2chatops.annotations | nindent 8 }} |
1533 | 1575 | {{- end }} |
|
0 commit comments