|
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 | +{{ include "custom-annotations" .Values.st2auth | indent 8 }} |
38 | 39 | spec: |
39 | 40 | imagePullSecrets: |
40 | 41 | {{- if .Values.image.pullSecret }} |
@@ -145,6 +146,7 @@ spec: |
145 | 146 | annotations: |
146 | 147 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
147 | 148 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 149 | +{{ include "custom-annotations" .Values.st2api | indent 8 }} |
148 | 150 | spec: |
149 | 151 | imagePullSecrets: |
150 | 152 | {{- if .Values.image.pullSecret }} |
@@ -255,6 +257,7 @@ spec: |
255 | 257 | heritage: {{ .Release.Service }} |
256 | 258 | annotations: |
257 | 259 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 260 | +{{ include "custom-annotations" .Values.st2stream | indent 8 }} |
258 | 261 | spec: |
259 | 262 | imagePullSecrets: |
260 | 263 | {{- if .Values.image.pullSecret }} |
@@ -333,6 +336,7 @@ spec: |
333 | 336 | heritage: {{ .Release.Service }} |
334 | 337 | annotations: |
335 | 338 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2web.yaml") . | sha256sum }} |
| 339 | +{{ include "custom-annotations" .Values.st2web | indent 8 }} |
336 | 340 | spec: |
337 | 341 | imagePullSecrets: |
338 | 342 | {{- if .Values.image.pullSecret }} |
@@ -431,6 +435,7 @@ spec: |
431 | 435 | heritage: {{ .Release.Service }} |
432 | 436 | annotations: |
433 | 437 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 438 | +{{ include "custom-annotations" .Values.st2rulesengine | indent 8 }} |
434 | 439 | spec: |
435 | 440 | imagePullSecrets: |
436 | 441 | {{- if .Values.image.pullSecret }} |
@@ -518,6 +523,7 @@ spec: |
518 | 523 | heritage: {{ .Release.Service }} |
519 | 524 | annotations: |
520 | 525 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 526 | +{{ include "custom-annotations" .Values.st2timersengine | indent 8 }} |
521 | 527 | spec: |
522 | 528 | imagePullSecrets: |
523 | 529 | {{- if .Values.image.pullSecret }} |
@@ -597,6 +603,7 @@ spec: |
597 | 603 | annotations: |
598 | 604 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
599 | 605 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 606 | +{{ include "custom-annotations" .Values.st2workflowengine | indent 8 }} |
600 | 607 | spec: |
601 | 608 | imagePullSecrets: |
602 | 609 | {{- if .Values.image.pullSecret }} |
@@ -688,6 +695,7 @@ spec: |
688 | 695 | annotations: |
689 | 696 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
690 | 697 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 698 | +{{ include "custom-annotations" .Values.st2scheduler | indent 8 }} |
691 | 699 | spec: |
692 | 700 | imagePullSecrets: |
693 | 701 | {{- if .Values.image.pullSecret }} |
@@ -779,6 +787,7 @@ spec: |
779 | 787 | heritage: {{ .Release.Service }} |
780 | 788 | annotations: |
781 | 789 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 790 | +{{ include "custom-annotations" .Values.st2notifier | indent 8 }} |
782 | 791 | spec: |
783 | 792 | imagePullSecrets: |
784 | 793 | {{- if .Values.image.pullSecret }} |
@@ -862,9 +871,7 @@ spec: |
862 | 871 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") $ | sha256sum }} |
863 | 872 | checksum/packs: {{ include (print $.Template.BasePath "/configmaps_packs.yaml") $ | sha256sum }} |
864 | 873 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") $ | sha256sum }} |
865 | | - {{- if .annotations }} |
866 | | -{{ toYaml .annotations | indent 8 }} |
867 | | - {{- end }} |
| 874 | +{{ include "custom-annotations" . | indent 8 }} |
868 | 875 | spec: |
869 | 876 | imagePullSecrets: |
870 | 877 | {{- if $.Values.image.pullSecret }} |
@@ -992,9 +999,7 @@ spec: |
992 | 999 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
993 | 1000 | checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }} |
994 | 1001 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
995 | | - {{- if .Values.st2actionrunner.annotations }} |
996 | | -{{ toYaml .Values.st2actionrunner.annotations | indent 8 }} |
997 | | - {{- end }} |
| 1002 | +{{ include "custom-annotations" .Values.st2actionrunner | indent 8 }} |
998 | 1003 | spec: |
999 | 1004 | {{- if .Values.st2actionrunner.hostAliases }} |
1000 | 1005 | hostAliases: |
@@ -1118,6 +1123,7 @@ spec: |
1118 | 1123 | heritage: {{ .Release.Service }} |
1119 | 1124 | annotations: |
1120 | 1125 | checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }} |
| 1126 | +{{ include "custom-annotations" .Values.st2garbagecollector | indent 8 }} |
1121 | 1127 | spec: |
1122 | 1128 | imagePullSecrets: |
1123 | 1129 | {{- if .Values.image.pullSecret }} |
@@ -1199,6 +1205,7 @@ spec: |
1199 | 1205 | checksum/auth: {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }} |
1200 | 1206 | checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }} |
1201 | 1207 | checksum/datastore-key: {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }} |
| 1208 | +{{ include "custom-annotations" .Values.st2client | indent 8 }} |
1202 | 1209 | spec: |
1203 | 1210 | imagePullSecrets: |
1204 | 1211 | {{- if .Values.st2.packs.images }} |
@@ -1367,6 +1374,7 @@ spec: |
1367 | 1374 | heritage: {{ .Release.Service }} |
1368 | 1375 | annotations: |
1369 | 1376 | checksum/chatops: {{ include (print $.Template.BasePath "/secrets_st2chatops.yaml") . | sha256sum }} |
| 1377 | +{{ include "custom-annotations" .Values.st2chatops | indent 8 }} |
1370 | 1378 | spec: |
1371 | 1379 | {{- if .Values.image.pullSecret }} |
1372 | 1380 | imagePullSecrets: |
|
0 commit comments