mirror of https://github.com/openkruise/charts.git
feat(chart): add imagePullSecrets support
Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
This commit is contained in:
parent
60d442c3ec
commit
063a894efa
|
|
@ -43,6 +43,10 @@ spec:
|
|||
labels:
|
||||
control-plane: controller-manager
|
||||
spec:
|
||||
{{- with (.Values.manager.imagePullSecrets | default .Values.imagePullSecrets) }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- args:
|
||||
- --enable-leader-election
|
||||
|
|
@ -157,6 +161,10 @@ spec:
|
|||
labels:
|
||||
control-plane: daemon
|
||||
spec:
|
||||
{{- with (.Values.manager.imagePullSecrets | default .Values.imagePullSecrets) }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.daemon.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.daemon.affinity | indent 8 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue