Skip to content

Commit

Permalink
Merge pull request #828 from boddumanohar/imagepull-secrets
Browse files Browse the repository at this point in the history
add a new helm parameter for image pull secrets
  • Loading branch information
andyzhangx authored May 6, 2021
2 parents bb4c26e + f5c6cee commit 7a6fb0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v1.3.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
{{ include "azuredisk.labels" . | indent 6 }}
app: csi-azuredisk-controller
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
hostNetwork: true
serviceAccountName: csi-azuredisk-controller-sa
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
{{ include "azuredisk.labels" . | indent 6 }}
app: csi-azuredisk-node
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: csi-azuredisk-node-sa
Expand Down
6 changes: 6 additions & 0 deletions charts/latest/azuredisk-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ kubelet:
linuxPath: /var/lib/kubelet

cloud: AzurePublicCloud

## 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: "image-pull-secret"

0 comments on commit 7a6fb0c

Please sign in to comment.