Skip to content

Commit

Permalink
feat: support https proxy and http proxy in chart config
Browse files Browse the repository at this point in the history
  • Loading branch information
umagnus committed Sep 19, 2022
1 parent e5737c6 commit adc161a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Binary file modified charts/latest/blob-csi-driver-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ spec:
optional: true
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
{{- if ne .Values.driver.httpsProxy "" }}
- name: HTTPS_PROXY
value: {{ .Values.driver.httpsProxy }}
{{- end }}
{{- if ne .Values.driver.httpProxy "" }}
- name: HTTP_PROXY
value: {{ .Values.driver.httpProxy }}
{{- end }}
- name: AZURE_GO_SDK_LOG_LEVEL
value: {{ .Values.driver.azureGoSDKLogLevel }}
{{- if eq .Values.cloud "AzureStackCloud" }}
Expand Down
8 changes: 8 additions & 0 deletions charts/latest/blob-csi-driver/templates/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,14 @@ spec:
value: unix:///csi/csi.sock
- name: BLOBFUSE_PROXY_ENDPOINT
value: unix:///csi/blobfuse-proxy.sock
{{- if ne .Values.driver.httpsProxy "" }}
- name: HTTPS_PROXY
value: {{ .Values.driver.httpsProxy }}
{{- end }}
{{- if ne .Values.driver.httpProxy "" }}
- name: HTTP_PROXY
value: {{ .Values.driver.httpProxy }}
{{- end }}
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
Expand Down
2 changes: 2 additions & 0 deletions charts/latest/blob-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ driver:
customUserAgent: ""
userAgentSuffix: "OSS-helm"
azureGoSDKLogLevel: "" # available values: ""(no logs), DEBUG, INFO, WARNING, ERROR
httpsProxy: ""
httpProxy: ""

linux:
kubelet: /var/lib/kubelet
Expand Down

0 comments on commit adc161a

Please sign in to comment.