mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
helm: add imagePullSecrets option
Currently the Helm chart does not contain a imagePullSecrets option when you are using private container registry, this is very inconvenient. This PR add this option for both CephFS and RBD. Signed-off-by: Garen Fang <fungaren@qq.com>
This commit is contained in:
@ -61,6 +61,10 @@ spec:
|
||||
hostNetwork: {{ .Values.provisioner.enableHostNetwork }}
|
||||
{{- if .Values.provisioner.priorityClassName }}
|
||||
priorityClassName: {{ .Values.provisioner.priorityClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.provisioner.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.provisioner.imagePullSecrets | indent 8 -}}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: csi-provisioner
|
||||
|
Reference in New Issue
Block a user