Skip to content

Commit

Permalink
feat: support vcs proxy (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmatei authored Aug 31, 2023
1 parent 54a6909 commit d94b3d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nx-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-cloud
description: Nx Cloud Helm Chart
type: application
version: 0.11.0
version: 0.11.1
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/_scm-helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
{{- define "nxCloud.api.scm.all" }}
{{- include "nxCloud.api.scm.github" . }}
{{- include "nxCloud.api.scm.gitlab" . }}
{{- if .Values.vcsHttpsProxy }}
- name: VERSION_CONTROL_HTTPS_PROXY
value: {{ .Values.vcsHttpsProxy }}
{{- end }}
{{- end }}

{{- define "nxCloud.api.scm.githubAppEnv" }}
Expand Down
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/nx-cloud-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ spec:
name: self-signed-certs-volume
{{- end}}
env:
{{- if .Values.vcsHttpsProxy }}
- name: VERSION_CONTROL_HTTPS_PROXY
value: {{ .Values.vcsHttpsProxy }}
{{- end }}
{{- if .Values.selfSignedCertConfigMap }}
- name: NODE_EXTRA_CA_CERTS
value: /self-signed-certs/self-signed-cert.crt
Expand Down

0 comments on commit d94b3d6

Please sign in to comment.