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:
@ -37,6 +37,10 @@ spec:
|
||||
# to use e.g. Rook orchestrated cluster, and mons' FQDN is
|
||||
# resolved through k8s service, set dns policy to cluster first
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{{- if .Values.nodeplugin.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.nodeplugin.imagePullSecrets | indent 8 -}}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: driver-registrar
|
||||
# This is necessary only for systems with SELinux, where
|
||||
|
Reference in New Issue
Block a user