Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport feature proxy https #776

Merged
4 commits merged into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions osc-bsu-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,20 @@ spec:
value: "{{ .Values.backoff.factor }}"
- name: BACKOFF_STEPS
value: "{{ .Values.backoff.steps }}"
{{- if .Values.httpsProxy }}
- name: HTTPS_PROXY
value: {{ .Values.httpsProxy }}
- name: NO_PROXY
value: {{ .Values.noProxy }}
{{- end }}
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
{{- if .Values.caBundle.name }}
- name: ca-bundle
mountPath: /etc/ssl/certs
readOnly: true
{{- end }}
ports:
- name: healthz
containerPort: 9808
Expand Down Expand Up @@ -314,3 +325,11 @@ spec:
volumes:
- name: socket-dir
emptyDir: {}
{{- if .Values.caBundle.name }}
- name: ca-bundle
secret:
secretName: {{ .Values.caBundle.name }}
items:
- key: {{ .Values.caBundle.key }}
path: ca-certificates.crt
{{- end }}
11 changes: 11 additions & 0 deletions osc-bsu-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,14 @@ credentials:
csiDriver:
# -- Policy of the FileSystem (see [Docs](https://kubernetes-csi.github.io/docs/support-fsgroup.html#supported-modes))
fsGroupPolicy: File

caBundle:
# -- Secret name containing additional certificates authorities
name: ''
# -- Entry key in secret used to store additional certificates authorities
key: ''

# -- Value used to create environment variable HTTPS_PROXY
httpsProxy: ''
# -- Value used to create environment variable NO_PROXY
noProxy: ''
Loading