@@ -20,6 +20,9 @@ metadata:
2020 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
2121 release : {{ .Release.Name }}
2222 heritage : {{ .Release.Service }}
23+ {{- if .Values.st2auth.annotations }}
24+ annotations : {{- toYaml .Values.st2auth.annotations | nindent 4 }}
25+ {{- end }}
2326spec :
2427 selector :
2528 matchLabels :
@@ -141,6 +144,9 @@ metadata:
141144 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
142145 release : {{ .Release.Name }}
143146 heritage : {{ .Release.Service }}
147+ {{- if .Values.st2api.annotations }}
148+ annotations : {{- toYaml .Values.st2api.annotations | nindent 4 }}
149+ {{- end }}
144150spec :
145151 selector :
146152 matchLabels :
@@ -264,6 +270,9 @@ metadata:
264270 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
265271 release : {{ .Release.Name }}
266272 heritage : {{ .Release.Service }}
273+ {{- if .Values.st2stream.annotations }}
274+ annotations : {{- toYaml .Values.st2stream.annotations | nindent 4 }}
275+ {{- end }}
267276spec :
268277 selector :
269278 matchLabels :
@@ -363,6 +372,9 @@ metadata:
363372 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
364373 release : {{ .Release.Name }}
365374 heritage : {{ .Release.Service }}
375+ {{- if .Values.st2web.annotations }}
376+ annotations : {{- toYaml .Values.st2web.annotations | nindent 4 }}
377+ {{- end }}
366378spec :
367379 selector :
368380 matchLabels :
@@ -497,6 +509,9 @@ metadata:
497509 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
498510 release : {{ .Release.Name }}
499511 heritage : {{ .Release.Service }}
512+ {{- if .Values.st2rulesengine.annotations }}
513+ annotations : {{- toYaml .Values.st2rulesengine.annotations | nindent 4 }}
514+ {{- end }}
500515spec :
501516 selector :
502517 matchLabels :
@@ -604,6 +619,9 @@ metadata:
604619 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
605620 release : {{ .Release.Name }}
606621 heritage : {{ .Release.Service }}
622+ {{- if .Values.st2timersengine.annotations }}
623+ annotations : {{- toYaml .Values.st2timersengine.annotations | nindent 4 }}
624+ {{- end }}
607625spec :
608626 selector :
609627 matchLabels :
@@ -702,6 +720,9 @@ metadata:
702720 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
703721 release : {{ .Release.Name }}
704722 heritage : {{ .Release.Service }}
723+ {{- if .Values.st2workflowengine.annotations }}
724+ annotations : {{- toYaml .Values.st2workflowengine.annotations | nindent 4 }}
725+ {{- end }}
705726spec :
706727 selector :
707728 matchLabels :
@@ -817,6 +838,9 @@ metadata:
817838 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
818839 release : {{ .Release.Name }}
819840 heritage : {{ .Release.Service }}
841+ {{- if .Values.st2scheduler.annotations }}
842+ annotations : {{- toYaml .Values.st2scheduler.annotations | nindent 4 }}
843+ {{- end }}
820844spec :
821845 selector :
822846 matchLabels :
@@ -923,6 +947,9 @@ metadata:
923947 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
924948 release : {{ .Release.Name }}
925949 heritage : {{ .Release.Service }}
950+ {{- if .Values.st2notifier.annotations }}
951+ annotations : {{- toYaml .Values.st2notifier.annotations | nindent 4 }}
952+ {{- end }}
926953spec :
927954 selector :
928955 matchLabels :
@@ -1029,6 +1056,9 @@ metadata:
10291056 chart : {{ $.Chart.Name }}-{{ $.Chart.Version }}
10301057 release : {{ $.Release.Name }}
10311058 heritage : {{ $.Release.Service }}
1059+ {{- if $sensor.annotations }}
1060+ annotations : {{- toYaml $sensor.annotations | nindent 4 }}
1061+ {{- end }}
10321062spec :
10331063 selector :
10341064 matchLabels :
@@ -1183,6 +1213,9 @@ metadata:
11831213 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
11841214 release : {{ .Release.Name }}
11851215 heritage : {{ .Release.Service }}
1216+ {{- if .Values.st2actionrunner.annotations }}
1217+ annotations : {{- toYaml .Values.st2actionrunner.annotations | nindent 4 }}
1218+ {{- end }}
11861219spec :
11871220 selector :
11881221 matchLabels :
@@ -1328,6 +1361,9 @@ metadata:
13281361 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
13291362 release : {{ .Release.Name }}
13301363 heritage : {{ .Release.Service }}
1364+ {{- if .Values.st2garbagecollector.annotations }}
1365+ annotations : {{- toYaml .Values.st2garbagecollector.annotations | nindent 4 }}
1366+ {{- end }}
13311367spec :
13321368 selector :
13331369 matchLabels :
@@ -1425,6 +1461,9 @@ metadata:
14251461 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
14261462 release : {{ .Release.Name }}
14271463 heritage : {{ .Release.Service }}
1464+ {{- if .Values.st2client.annotations }}
1465+ annotations : {{- toYaml .Values.st2client.annotations | nindent 4 }}
1466+ {{- end }}
14281467spec :
14291468 selector :
14301469 matchLabels :
@@ -1604,6 +1643,9 @@ metadata:
16041643 chart : {{ .Chart.Name }}-{{ .Chart.Version }}
16051644 release : {{ .Release.Name }}
16061645 heritage : {{ .Release.Service }}
1646+ {{- if .Values.st2chatops.annotations }}
1647+ annotations : {{- toYaml .Values.st2chatops.annotations | nindent 4 }}
1648+ {{- end }}
16071649spec :
16081650 selector :
16091651 matchLabels :
0 commit comments