@@ -104,16 +104,13 @@ spec:
104104 emptyDir :
105105 medium : Memory
106106 {{- with .Values.st2auth.nodeSelector }}
107- nodeSelector :
108- {{ toYaml . | indent 8 }}
107+ nodeSelector : {{- toYaml . | nindent 8 }}
109108 {{- end }}
110109 {{- with .Values.st2auth.affinity }}
111- affinity :
112- {{ toYaml . | indent 8 }}
110+ affinity : {{- toYaml . | nindent 8 }}
113111 {{- end }}
114112 {{- with .Values.st2auth.tolerations }}
115- tolerations :
116- {{ toYaml . | indent 8 }}
113+ tolerations : {{- toYaml . | nindent 8 }}
117114 {{- end }}
118115
119116---
@@ -218,16 +215,13 @@ spec:
218215{{- include "packs-volumes" . | indent 8 }}
219216 {{- end }}
220217 {{- with .Values.st2api.nodeSelector }}
221- nodeSelector :
222- {{ toYaml . | indent 8 }}
218+ nodeSelector : {{- toYaml . | nindent 8 }}
223219 {{- end }}
224220 {{- with .Values.st2api.affinity }}
225- affinity :
226- {{ toYaml . | indent 8 }}
221+ affinity : {{- toYaml . | nindent 8 }}
227222 {{- end }}
228223 {{- with .Values.st2api.tolerations }}
229- tolerations :
230- {{ toYaml . | indent 8 }}
224+ tolerations : {{- toYaml . | nindent 8 }}
231225 {{- end }}
232226
233227---
@@ -301,16 +295,13 @@ spec:
301295 configMap :
302296 name : {{ .Release.Name }}-st2-config
303297 {{- with .Values.st2stream.nodeSelector }}
304- nodeSelector :
305- {{ toYaml . | indent 8 }}
298+ nodeSelector : {{- toYaml . | nindent 8 }}
306299 {{- end }}
307300 {{- with .Values.st2stream.affinity }}
308- affinity :
309- {{ toYaml . | indent 8 }}
301+ affinity : {{- toYaml . | nindent 8 }}
310302 {{- end }}
311303 {{- with .Values.st2stream.tolerations }}
312- tolerations :
313- {{ toYaml . | indent 8 }}
304+ tolerations : {{- toYaml . | nindent 8 }}
314305 {{- end }}
315306
316307---
@@ -400,16 +391,13 @@ spec:
400391 volumes : []
401392 {{- end }}
402393 {{- with .Values.st2web.nodeSelector }}
403- nodeSelector :
404- {{ toYaml . | indent 8 }}
394+ nodeSelector : {{- toYaml . | nindent 8 }}
405395 {{- end }}
406396 {{- with .Values.st2web.affinity }}
407- affinity :
408- {{ toYaml . | indent 8 }}
397+ affinity : {{- toYaml . | nindent 8 }}
409398 {{- end }}
410399 {{- with .Values.st2web.tolerations }}
411- tolerations :
412- {{ toYaml . | indent 8 }}
400+ tolerations : {{- toYaml . | nindent 8 }}
413401 {{- end }}
414402
415403---
@@ -489,16 +477,13 @@ spec:
489477 path : datastore_key.json
490478 {{- end }}
491479 {{- with .Values.st2rulesengine.nodeSelector }}
492- nodeSelector :
493- {{ toYaml . | indent 8 }}
480+ nodeSelector : {{- toYaml . | nindent 8 }}
494481 {{- end }}
495482 {{- with .Values.st2rulesengine.affinity }}
496- affinity :
497- {{ toYaml . | indent 8 }}
483+ affinity : {{- toYaml . | nindent 8 }}
498484 {{- end }}
499485 {{- with .Values.st2rulesengine.tolerations }}
500- tolerations :
501- {{ toYaml . | indent 8 }}
486+ tolerations : {{- toYaml . | nindent 8 }}
502487 {{- end }}
503488
504489---
@@ -571,16 +556,13 @@ spec:
571556 configMap :
572557 name : {{ .Release.Name }}-st2-config
573558 {{- with .Values.st2timersengine.nodeSelector }}
574- nodeSelector :
575- {{ toYaml . | indent 8 }}
559+ nodeSelector : {{- toYaml . | nindent 8 }}
576560 {{- end }}
577561 {{- with .Values.st2timersengine.affinity }}
578- affinity :
579- {{ toYaml . | indent 8 }}
562+ affinity : {{- toYaml . | nindent 8 }}
580563 {{- end }}
581564 {{- with .Values.st2timersengine.tolerations }}
582- tolerations :
583- {{ toYaml . | indent 8 }}
565+ tolerations : {{- toYaml . | nindent 8 }}
584566 {{- end }}
585567
586568---
@@ -666,16 +648,13 @@ spec:
666648 path : datastore_key.json
667649 {{- end }}
668650 {{- with .Values.st2workflowengine.nodeSelector }}
669- nodeSelector :
670- {{ toYaml . | indent 8 }}
651+ nodeSelector : {{- toYaml . | nindent 8 }}
671652 {{- end }}
672653 {{- with .Values.st2workflowengine.affinity }}
673- affinity :
674- {{ toYaml . | indent 8 }}
654+ affinity : {{- toYaml . | nindent 8 }}
675655 {{- end }}
676656 {{- with .Values.st2workflowengine.tolerations }}
677- tolerations :
678- {{ toYaml . | indent 8 }}
657+ tolerations : {{- toYaml . | nindent 8 }}
679658 {{- end }}
680659
681660---
@@ -760,16 +739,13 @@ spec:
760739 configMap :
761740 name : {{ .Release.Name }}-st2-config
762741 {{- with .Values.st2scheduler.nodeSelector }}
763- nodeSelector :
764- {{ toYaml . | indent 8 }}
742+ nodeSelector : {{- toYaml . | nindent 8 }}
765743 {{- end }}
766744 {{- with .Values.st2scheduler.affinity }}
767- affinity :
768- {{ toYaml . | indent 8 }}
745+ affinity : {{- toYaml . | nindent 8 }}
769746 {{- end }}
770747 {{- with .Values.st2scheduler.tolerations }}
771- tolerations :
772- {{ toYaml . | indent 8 }}
748+ tolerations : {{- toYaml . | nindent 8 }}
773749 {{- end }}
774750
775751---
@@ -841,16 +817,13 @@ spec:
841817 configMap :
842818 name : {{ .Release.Name }}-st2-config
843819 {{- with .Values.st2notifier.nodeSelector }}
844- nodeSelector :
845- {{ toYaml . | indent 8 }}
820+ nodeSelector : {{- toYaml . | nindent 8 }}
846821 {{- end }}
847822 {{- with .Values.st2notifier.affinity }}
848- affinity :
849- {{ toYaml . | indent 8 }}
823+ affinity : {{- toYaml . | nindent 8 }}
850824 {{- end }}
851825 {{- with .Values.st2notifier.tolerations }}
852- tolerations :
853- {{ toYaml . | indent 8 }}
826+ tolerations : {{- toYaml . | nindent 8 }}
854827 {{- end }}
855828
856829{{- range .Values.st2.packs.sensors }}
@@ -972,16 +945,13 @@ spec:
972945{{- include "packs-volumes" $ | indent 8 }}
973946 {{- end }}
974947 {{- with .nodeSelector }}
975- nodeSelector :
976- {{ toYaml . | indent 8 }}
948+ nodeSelector : {{- toYaml . | nindent 8 }}
977949 {{- end }}
978950 {{- with .affinity }}
979- affinity :
980- {{ toYaml . | indent 8 }}
951+ affinity : {{- toYaml . | nindent 8 }}
981952 {{- end }}
982953 {{- with .tolerations }}
983- tolerations :
984- {{ toYaml . | indent 8 }}
954+ tolerations : {{- toYaml . | nindent 8 }}
985955 {{- end }}
986956{{- end }}
987957
@@ -1102,16 +1072,13 @@ spec:
11021072{{- include "packs-volumes" . | indent 8 }}
11031073 {{- end }}
11041074 {{- with .Values.st2actionrunner.nodeSelector }}
1105- nodeSelector :
1106- {{ toYaml . | indent 8 }}
1075+ nodeSelector : {{- toYaml . | nindent 8 }}
11071076 {{- end }}
11081077 {{- with .Values.st2actionrunner.affinity }}
1109- affinity :
1110- {{ toYaml . | indent 8 }}
1078+ affinity : {{- toYaml . | nindent 8 }}
11111079 {{- end }}
11121080 {{- with .Values.st2actionrunner.tolerations }}
1113- tolerations :
1114- {{ toYaml . | indent 8 }}
1081+ tolerations : {{- toYaml . | nindent 8 }}
11151082 {{- end }}
11161083
11171084---
@@ -1183,16 +1150,13 @@ spec:
11831150 configMap :
11841151 name : {{ .Release.Name }}-st2-config
11851152 {{- with .Values.st2garbagecollector.nodeSelector }}
1186- nodeSelector :
1187- {{ toYaml . | indent 8 }}
1153+ nodeSelector : {{- toYaml . | nindent 8 }}
11881154 {{- end }}
11891155 {{- with .Values.st2garbagecollector.affinity }}
1190- affinity :
1191- {{ toYaml . | indent 8 }}
1156+ affinity : {{- toYaml . | nindent 8 }}
11921157 {{- end }}
11931158 {{- with .Values.st2garbagecollector.tolerations }}
1194- tolerations :
1195- {{ toYaml . | indent 8 }}
1159+ tolerations : {{- toYaml . | nindent 8 }}
11961160 {{- end }}
11971161
11981162---
@@ -1457,15 +1421,12 @@ spec:
14571421 {{- toYaml .Values.st2chatops.hubotScriptsVolume | nindent 10 }}
14581422 {{- end }}
14591423 {{- with .Values.st2chatops.nodeSelector }}
1460- nodeSelector :
1461- {{ toYaml . | indent 8 }}
1424+ nodeSelector : {{- toYaml . | nindent 8 }}
14621425 {{- end }}
14631426 {{- with .Values.st2chatops.affinity }}
1464- affinity :
1465- {{ toYaml . | indent 8 }}
1427+ affinity : {{- toYaml . | nindent 8 }}
14661428 {{- end }}
14671429 {{- with .Values.st2chatops.tolerations }}
1468- tolerations :
1469- {{ toYaml . | indent 8 }}
1430+ tolerations : {{- toYaml . | nindent 8 }}
14701431 {{- end }}
14711432{{- end }}
0 commit comments