File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1818 secret :
1919 secretName : client-ca
2020 {{- end }}
21+ {{- if .Values.imagePullSecrets }}
22+ imagePullSecrets :
23+ {{ toYaml .Values.imagePullSecrets | indent 6 }}
24+ {{- end }}
2125 {{- if .Values.global.hostNetwork }}
2226 hostNetwork : true
2327 {{- end }}
Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ templates:
33 - deployment.yaml
44
55tests :
6+ - it : should render imagePullSecrets when set
7+ set :
8+ imagePullSecrets :
9+ - name : my-secret
10+ asserts :
11+ - contains :
12+ path : spec.template.spec.imagePullSecrets
13+ content :
14+ name : my-secret
615 - it : should set webhook default port values
716 asserts :
817 - equal :
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ global:
1111mcm :
1212 enabled : true
1313
14+ imagePullSecrets : []
15+
1416# tolerations for the webhook deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ for more info
1517tolerations : []
1618nodeSelector : {}
You can’t perform that action at this time.
0 commit comments