Skip to content

Commit

Permalink
Merge pull request #1 from cezarguimaraes/feat/custom-proxy
Browse files Browse the repository at this point in the history
Allows using a custom proxy URL
  • Loading branch information
cezarguimaraes committed Oct 23, 2023
2 parents 5471b9c + 4a6b2cf commit 1943263
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for Kubernetes

type: application

version: 0.1.1
version: 0.2.0

appVersion: "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion helm/templates/_goproxy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
{{- $athensCtx := dict "Values" $athens "Release" $.Release "Chart" $athensChart -}}
http://{{- template "fullname" $athensCtx }}.{{ $.Release.Namespace }}.svc.cluster.local
{{- else -}}
https://proxy.golang.org
{{ $.Values.goproxy }}
{{- end }}
{{- end}}
6 changes: 5 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ redis:
auth:
enabled: false

# pkgsite specific valuesl
# pkgsite specific values
bypassLicenseCheck: true

# goproxy sets the module mirror URL to use. This is ignored when athens-proxy
# is enabled.
goproxy: "https://proxy.golang.org"

seed:
packages:
- std@latest
Expand Down

0 comments on commit 1943263

Please sign in to comment.