File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed
latest/blob-csi-driver/templates Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ The following table lists the configurable parameters of the latest Azure Blob S
60
60
| ` image.nodeDriverRegistrar.repository ` | csi-node-driver-registrar docker image | mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar |
61
61
| ` image.nodeDriverRegistrar.tag ` | csi-node-driver-registrar docker image tag | v1.2.0 |
62
62
| ` image.nodeDriverRegistrar.pullPolicy ` | csi-node-driver-registrar image pull policy | IfNotPresent |
63
+ | ` imagePullSecrets ` | Specify docker-registry secret names as an array | [ ] (does not add image pull secrets to deployed pods) |
63
64
| ` serviceAccount.create ` | whether create service account of csi-blob-controller | true |
64
65
| ` rbac.create ` | whether create rbac of csi-blob-controller | true |
65
66
| ` controller.replicas ` | the replicas of csi-blob-controller | 2 |
Original file line number Diff line number Diff line change 9
9
chart: "{ { .Chart.Name } }"
10
10
chartVersion: "{ { .Chart.Version } }"
11
11
{ {- end -} }
12
+
13
+ { {/* pull secrets for containers */} }
14
+ { {- define " blob.pullSecrets" -} }
15
+ { {- if .Values.imagePullSecrets } }
16
+ imagePullSecrets:
17
+ { {- range .Values.imagePullSecrets } }
18
+ - name: { { . } }
19
+ { {- end } }
20
+ { {- end } }
21
+ { {- end -} }
Original file line number Diff line number Diff line change 24
24
operator : " Equal"
25
25
value : " true"
26
26
effect : " NoSchedule"
27
+ {{- include "blob.pullSecrets" . | indent 6 }}
27
28
containers :
28
29
- name : csi-provisioner
29
30
image : {{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}
Original file line number Diff line number Diff line change 20
20
priorityClassName : system-node-critical
21
21
tolerations :
22
22
- operator : " Exists"
23
+ {{- include "blob.pullSecrets" . | indent 6 }}
23
24
containers :
24
25
- name : liveness-probe
25
26
imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
You can’t perform that action at this time.
0 commit comments