Skip to content

Commit

Permalink
Adding parameterized ATHENS_GO_GET_WORKERS (gomods#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
arschles authored and manugupt1 committed May 1, 2019
1 parent aa5e883 commit 0138fea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/athens-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ spec:
path: "{{ template "readinessPath" . }}"
port: 3000
env:
- name: ATHENS_GOGET_WORKERS
{{ if .Values.goGetWorkers -}}
value: {{ .Values.goGetWorkers }}
{{ else -}}
value: 3
{{ end }}
- name: ATHENS_STORAGE_TYPE
value: {{ .Values.storage.type | quote }}
{{- if eq .Values.storage.type "disk"}}
Expand Down
2 changes: 2 additions & 0 deletions charts/athens-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jaeger:
# for example, you need to run 'helm install --set jaeger.url=myurl ...'
url: "SET THIS ON THE COMMAND LINE"

goGetWorkers: 3

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 0138fea

Please sign in to comment.