Skip to content

Commit

Permalink
Merge pull request #345 from dza89/imagepullsecrets
Browse files Browse the repository at this point in the history
feat: add imagepullsecrets in helm chart
  • Loading branch information
k8s-ci-robot authored Feb 17, 2021
2 parents b035747 + 76d24eb commit 73aa896
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Binary file modified charts/latest/blob-csi-driver-v1.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
{{ include "blob.labels" . | indent 6 }}
app: csi-blob-controller
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
hostNetwork: true
serviceAccountName: csi-blob-controller-sa
nodeSelector:
Expand Down
4 changes: 4 additions & 0 deletions charts/latest/blob-csi-driver/templates/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ spec:
{{ include "blob.labels" . | indent 6 }}
app: csi-blob-node
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: csi-blob-node-sa
Expand Down
5 changes: 5 additions & 0 deletions charts/latest/blob-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ image:
tag: v1.1.0
pullPolicy: IfNotPresent

## Reference to one or more secrets to be used when pulling images
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# - name: myRegistryKeySecretName

serviceAccount:
create: true

Expand Down

0 comments on commit 73aa896

Please sign in to comment.