diff --git a/charts/latest/blob-csi-driver-v1.0.0.tgz b/charts/latest/blob-csi-driver-v1.0.0.tgz index adb5fad2b..e400e5bf7 100644 Binary files a/charts/latest/blob-csi-driver-v1.0.0.tgz and b/charts/latest/blob-csi-driver-v1.0.0.tgz differ diff --git a/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml b/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml index 30f6ba01e..ae737059f 100755 --- a/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml +++ b/charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml @@ -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: diff --git a/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml b/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml index 58a257a79..56b8d3a83 100755 --- a/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml +++ b/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml @@ -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 diff --git a/charts/latest/blob-csi-driver/values.yaml b/charts/latest/blob-csi-driver/values.yaml index b2b9be06c..99430a1ca 100755 --- a/charts/latest/blob-csi-driver/values.yaml +++ b/charts/latest/blob-csi-driver/values.yaml @@ -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