Skip to content

Commit f68f615

Browse files
authored
Merge pull request #7 from modelix/http-proxy
feat: support git clone via http proxy
2 parents c4a4674 + 560d75a commit f68f615

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

helm/modelix/templates/_helpers.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,9 @@ http://{{ include "modelix.fullname" . }}-keycloak:8080/
8888
value: "{{ .Values.authorization.enabled }}"
8989
{{- end }}
9090

91+
{{- define "modelix.commonVariables" -}}
92+
{{- if .Values.httpProxy }}
93+
- name: MODELIX_HTTP_PROXY
94+
value: "{{ .Values.httpProxy }}"
95+
{{- end }}
96+
{{- end }}

helm/modelix/templates/common/workspace-manager-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
- name: INTERNAL_DOCKER_REGISTRY_AUTHORITY
6767
value: "localhost:{{ .Values.internalDockerRegistry.nodePort }}"
6868
{{- include "modelix.authorizationConfig" . | nindent 10 }}
69+
{{- include "modelix.commonVariables" . | nindent 10 }}
6970
image: "{{ .Values.dockerProxy.prefix }}modelix/modelix-workspace-manager:{{ .Values.imageTags.wsManager | default .Values.versions.modelix.workspaces }}"
7071
imagePullPolicy: IfNotPresent
7172
name: workspace-manager

helm/modelix/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fullnameOverride: ""
44

55
versions:
66
modelix:
7-
workspaces: "0.11.0"
7+
workspaces: "0.12.0"
88
core: "11.3.0"
99
kubernetes: ""
1010
vncBaseImage: "0.9.4"
@@ -90,3 +90,5 @@ serviceAccount: ""
9090

9191
authorization:
9292
enabled: true
93+
94+
httpProxy: ""

0 commit comments

Comments
 (0)