Skip to content

Commit 73aa896

Browse files
authored
Merge pull request #345 from dza89/imagepullsecrets
feat: add imagepullsecrets in helm chart
2 parents b035747 + 76d24eb commit 73aa896

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed
140 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ spec:
1414
{{ include "blob.labels" . | indent 6 }}
1515
app: csi-blob-controller
1616
spec:
17+
{{- if .Values.imagePullSecrets }}
18+
imagePullSecrets:
19+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
20+
{{- end }}
1721
hostNetwork: true
1822
serviceAccountName: csi-blob-controller-sa
1923
nodeSelector:

charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ spec:
1313
{{ include "blob.labels" . | indent 6 }}
1414
app: csi-blob-node
1515
spec:
16+
{{- if .Values.imagePullSecrets }}
17+
imagePullSecrets:
18+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
19+
{{- end }}
1620
hostNetwork: true
1721
dnsPolicy: ClusterFirstWithHostNet
1822
serviceAccountName: csi-blob-node-sa

charts/latest/blob-csi-driver/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ image:
2020
tag: v1.1.0
2121
pullPolicy: IfNotPresent
2222

23+
## Reference to one or more secrets to be used when pulling images
24+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
25+
imagePullSecrets: []
26+
# - name: myRegistryKeySecretName
27+
2328
serviceAccount:
2429
create: true
2530

0 commit comments

Comments
 (0)