Skip to content

Commit

Permalink
add a new helm parameter for image pull secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
boddumanohar committed May 5, 2021
1 parent bb4c26e commit f5c6cee
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 f5c6cee

Please sign in to comment.