Skip to content

Commit

Permalink
fix: blobfuse-proxy helm install failed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Oct 16, 2021
1 parent a953b3a commit c1a6203
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Binary file modified charts/latest/blob-csi-driver-v1.6.0.tgz
Binary file not shown.
8 changes: 8 additions & 0 deletions charts/latest/blob-csi-driver/templates/blobfuse-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ spec:
- virtual-kubelet
initContainers:
- name: prepare-binaries
{{- if hasPrefix "/" .Values.image.blob.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
{{- else }}
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
{{- end }}
command: ['sh', '-c', "cp /blobfuse-proxy/*.deb /tmp/"]
volumeMounts:
- mountPath: /tmp
Expand Down Expand Up @@ -57,7 +61,11 @@ spec:
sleep 3s
# tail blobfuse proxy logs
journalctl -u blobfuse-proxy -f
{{- if hasPrefix "/" .Values.image.blob.repository }}
image: "{{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
{{- else }}
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
{{- end }}
imagePullPolicy: IfNotPresent
name: sysctl-install-blobfuse-proxy
env:
Expand Down
2 changes: 1 addition & 1 deletion charts/latest/blob-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image:
baseRepo: mcr.microsoft.com
blob:
repository: /k8s/csi/blob-csi
tag: latest
tag: v1.6.0
pullPolicy: IfNotPresent
csiProvisioner:
repository: /oss/kubernetes-csi/csi-provisioner
Expand Down

0 comments on commit c1a6203

Please sign in to comment.