Skip to content

Commit

Permalink
Merge pull request #7 from modelix/http-proxy
Browse files Browse the repository at this point in the history
feat: support git clone via http proxy
  • Loading branch information
slisson authored Feb 11, 2025
2 parents c4a4674 + 560d75a commit f68f615
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions helm/modelix/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,9 @@ http://{{ include "modelix.fullname" . }}-keycloak:8080/
value: "{{ .Values.authorization.enabled }}"
{{- end }}

{{- define "modelix.commonVariables" -}}
{{- if .Values.httpProxy }}
- name: MODELIX_HTTP_PROXY
value: "{{ .Values.httpProxy }}"
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
- name: INTERNAL_DOCKER_REGISTRY_AUTHORITY
value: "localhost:{{ .Values.internalDockerRegistry.nodePort }}"
{{- include "modelix.authorizationConfig" . | nindent 10 }}
{{- include "modelix.commonVariables" . | nindent 10 }}
image: "{{ .Values.dockerProxy.prefix }}modelix/modelix-workspace-manager:{{ .Values.imageTags.wsManager | default .Values.versions.modelix.workspaces }}"
imagePullPolicy: IfNotPresent
name: workspace-manager
Expand Down
4 changes: 3 additions & 1 deletion helm/modelix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fullnameOverride: ""

versions:
modelix:
workspaces: "0.11.0"
workspaces: "0.12.0"
core: "11.3.0"
kubernetes: ""
vncBaseImage: "0.9.4"
Expand Down Expand Up @@ -90,3 +90,5 @@ serviceAccount: ""

authorization:
enabled: true

httpProxy: ""

0 comments on commit f68f615

Please sign in to comment.