@@ -34,10 +34,13 @@ spec:
34
34
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
35
35
checksum/auth : {{ include (print $.Template.BasePath "/secrets_st2auth.yaml") . | sha256sum }}
36
36
spec :
37
- {{- if .Values.enterprise.enabled }}
38
37
imagePullSecrets :
38
+ {{- if .Values.enterprise.enabled }}
39
39
- name : {{ .Release.Name }}-st2-license
40
40
{{- end }}
41
+ {{- if .Values.image.pullSecret }}
42
+ - name : {{ .Values.image.pullSecret }}
43
+ {{- end }}
41
44
# Sidecar container for generating .htpasswd with st2 username & password pair and sharing produced file with the main st2auth container
42
45
initContainers :
43
46
- name : generate-htpasswd
@@ -152,6 +155,9 @@ spec:
152
155
{{- if .Values.st2.packs.image.pullSecret }}
153
156
- name : {{ .Values.st2.packs.image.pullSecret }}
154
157
{{- end }}
158
+ {{- if .Values.image.pullSecret }}
159
+ - name : {{ .Values.image.pullSecret }}
160
+ {{- end }}
155
161
{{- if .Values.st2.packs.image.repository }}
156
162
initContainers :
157
163
# Merge packs and virtualenvs from st2api with those from the st2.packs image
@@ -289,10 +295,13 @@ spec:
289
295
annotations :
290
296
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
291
297
spec :
292
- {{- if .Values.enterprise.enabled }}
293
298
imagePullSecrets :
299
+ {{- if .Values.enterprise.enabled }}
294
300
- name : {{ .Release.Name }}-st2-license
295
301
{{- end }}
302
+ {{- if .Values.image.pullSecret }}
303
+ - name : {{ .Values.image.pullSecret }}
304
+ {{- end }}
296
305
containers :
297
306
- name : st2stream{{ template "enterpriseSuffix" . }}
298
307
image : " {{ template " imageRepository" . }}/st2stream{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -365,10 +374,13 @@ spec:
365
374
release : {{ .Release.Name }}
366
375
heritage : {{ .Release.Service }}
367
376
spec :
368
- {{- if .Values.enterprise.enabled }}
369
377
imagePullSecrets :
378
+ {{- if .Values.enterprise.enabled }}
370
379
- name : {{ .Release.Name }}-st2-license
371
380
{{- end }}
381
+ {{- if .Values.image.pullSecret }}
382
+ - name : {{ .Values.image.pullSecret }}
383
+ {{- end }}
372
384
containers :
373
385
- name : st2web{{ template "enterpriseSuffix" . }}
374
386
image : " {{ template " imageRepository" . }}/st2web{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -452,10 +464,13 @@ spec:
452
464
annotations :
453
465
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
454
466
spec :
455
- {{- if .Values.enterprise.enabled }}
456
467
imagePullSecrets :
468
+ {{- if .Values.enterprise.enabled }}
457
469
- name : {{ .Release.Name }}-st2-license
458
470
{{- end }}
471
+ {{- if .Values.image.pullSecret }}
472
+ - name : {{ .Values.image.pullSecret }}
473
+ {{- end }}
459
474
containers :
460
475
- name : st2rulesengine{{ template "enterpriseSuffix" . }}
461
476
image : " {{ template " imageRepository" . }}/st2rulesengine{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -539,10 +554,13 @@ spec:
539
554
annotations :
540
555
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
541
556
spec :
542
- {{- if .Values.enterprise.enabled }}
543
557
imagePullSecrets :
558
+ {{- if .Values.enterprise.enabled }}
544
559
- name : {{ .Release.Name }}-st2-license
545
560
{{- end }}
561
+ {{- if .Values.image.pullSecret }}
562
+ - name : {{ .Values.image.pullSecret }}
563
+ {{- end }}
546
564
containers :
547
565
- name : st2timersengine{{ template "enterpriseSuffix" . }}
548
566
image : " {{ template " imageRepository" . }}/st2timersengine{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -618,10 +636,13 @@ spec:
618
636
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
619
637
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
620
638
spec :
621
- {{- if .Values.enterprise.enabled }}
622
639
imagePullSecrets :
640
+ {{- if .Values.enterprise.enabled }}
623
641
- name : {{ .Release.Name }}-st2-license
624
642
{{- end }}
643
+ {{- if .Values.image.pullSecret }}
644
+ - name : {{ .Values.image.pullSecret }}
645
+ {{- end }}
625
646
containers :
626
647
- name : st2workflowengine{{ template "enterpriseSuffix" . }}
627
648
image : " {{ template " imageRepository" . }}/st2workflowengine{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -709,10 +730,13 @@ spec:
709
730
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
710
731
checksum/datastore-key : {{ include (print $.Template.BasePath "/secrets_datastore_crypto_key.yaml") . | sha256sum }}
711
732
spec :
712
- {{- if .Values.enterprise.enabled }}
713
733
imagePullSecrets :
734
+ {{- if .Values.enterprise.enabled }}
714
735
- name : {{ .Release.Name }}-st2-license
715
736
{{- end }}
737
+ {{- if .Values.image.pullSecret }}
738
+ - name : {{ .Values.image.pullSecret }}
739
+ {{- end }}
716
740
containers :
717
741
- name : st2scheduler{{ template "enterpriseSuffix" . }}
718
742
image : " {{ template " imageRepository" . }}/st2scheduler{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -800,10 +824,13 @@ spec:
800
824
annotations :
801
825
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
802
826
spec :
803
- {{- if .Values.enterprise.enabled }}
804
827
imagePullSecrets :
828
+ {{- if .Values.enterprise.enabled }}
805
829
- name : {{ .Release.Name }}-st2-license
806
830
{{- end }}
831
+ {{- if .Values.image.pullSecret }}
832
+ - name : {{ .Values.image.pullSecret }}
833
+ {{- end }}
807
834
containers :
808
835
- name : st2notifier{{ template "enterpriseSuffix" . }}
809
836
image : " {{ template " imageRepository" . }}/st2notifier{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -893,6 +920,9 @@ spec:
893
920
{{- if $.Values.st2.packs.image.pullSecret }}
894
921
- name : {{ $.Values.st2.packs.image.pullSecret }}
895
922
{{- end }}
923
+ {{- if $.Values.image.pullSecret }}
924
+ - name : {{ $.Values.image.pullSecret }}
925
+ {{- end }}
896
926
{{- if $.Values.st2.packs.image.repository }}
897
927
initContainers :
898
928
# Merge packs and virtualenvs from st2sensorcontainer with those from the st2.packs image
@@ -1059,6 +1089,9 @@ spec:
1059
1089
{{- if .Values.st2.packs.image.pullSecret }}
1060
1090
- name : {{ .Values.st2.packs.image.pullSecret }}
1061
1091
{{- end }}
1092
+ {{- if .Values.image.pullSecret }}
1093
+ - name : {{ .Values.image.pullSecret }}
1094
+ {{- end }}
1062
1095
{{- if .Values.st2.packs.image.repository }}
1063
1096
initContainers :
1064
1097
# Merge packs and virtualenvs from st2actionrunner with those from the st2.packs image
@@ -1203,10 +1236,13 @@ spec:
1203
1236
annotations :
1204
1237
checksum/config : {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
1205
1238
spec :
1206
- {{- if .Values.enterprise.enabled }}
1207
1239
imagePullSecrets :
1240
+ {{- if .Values.enterprise.enabled }}
1208
1241
- name : {{ .Release.Name }}-st2-license
1209
1242
{{- end }}
1243
+ {{- if .Values.image.pullSecret }}
1244
+ - name : {{ .Values.image.pullSecret }}
1245
+ {{- end }}
1210
1246
containers :
1211
1247
- name : st2garbagecollector{{ template "enterpriseSuffix" . }}
1212
1248
image : " {{ template " imageRepository" . }}/st2garbagecollector{{ template "enterpriseSuffix" . }}:{{ .Chart.AppVersion }}"
@@ -1293,6 +1329,9 @@ spec:
1293
1329
{{- if .Values.st2.packs.image.pullSecret }}
1294
1330
- name : {{ .Values.st2.packs.image.pullSecret }}
1295
1331
{{- end }}
1332
+ {{- if .Values.image.pullSecret }}
1333
+ - name : {{ .Values.image.pullSecret }}
1334
+ {{- end }}
1296
1335
initContainers :
1297
1336
{{- if .Values.st2.packs.image.repository }}
1298
1337
# Merge packs and virtualenvs from st2actionrunner with those from the st2.packs image
@@ -1488,6 +1527,10 @@ spec:
1488
1527
annotations :
1489
1528
checksum/chatops : {{ include (print $.Template.BasePath "/secrets_st2chatops.yaml") . | sha256sum }}
1490
1529
spec :
1530
+ {{- if .Values.image.pullSecret }}
1531
+ imagePullSecrets :
1532
+ - name : {{ .Values.image.pullSecret }}
1533
+ {{- end }}
1491
1534
containers :
1492
1535
- name : st2chatops{{ template "enterpriseSuffix" . }}
1493
1536
image : " {{ .Values.st2chatops.image.repository | default " stackstorm" }}/{{ .Values.st2chatops.image.name | default "st2chatops" }}:{{ tpl (.Values.st2chatops.image.tag | default .Chart.AppVersion) . }}"
0 commit comments