Skip to content

Commit c1a6203

Browse files
committed
fix: blobfuse-proxy helm install failed issue
1 parent a953b3a commit c1a6203

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
-8 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/blobfuse-proxy.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ spec:
2424
- virtual-kubelet
2525
initContainers:
2626
- name: prepare-binaries
27+
{{- if hasPrefix "/" .Values.image.blob.repository }}
28+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
29+
{{- else }}
2730
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
31+
{{- end }}
2832
command: ['sh', '-c', "cp /blobfuse-proxy/*.deb /tmp/"]
2933
volumeMounts:
3034
- mountPath: /tmp
@@ -57,7 +61,11 @@ spec:
5761
sleep 3s
5862
# tail blobfuse proxy logs
5963
journalctl -u blobfuse-proxy -f
64+
{{- if hasPrefix "/" .Values.image.blob.repository }}
65+
image: "{{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
66+
{{- else }}
6067
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
68+
{{- end }}
6169
imagePullPolicy: IfNotPresent
6270
name: sysctl-install-blobfuse-proxy
6371
env:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image:
22
baseRepo: mcr.microsoft.com
33
blob:
44
repository: /k8s/csi/blob-csi
5-
tag: latest
5+
tag: v1.6.0
66
pullPolicy: IfNotPresent
77
csiProvisioner:
88
repository: /oss/kubernetes-csi/csi-provisioner

0 commit comments

Comments
 (0)