Skip to content

Commit

Permalink
fix(chart): add default pypi configs in chart (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenxinxing authored Aug 18, 2023
1 parent 03b96ca commit 314d851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/charts/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ Config mirror environment
- name: SW_PYPI_TRUSTED_HOST
value: "{{ .Values.mirror.pypi.trustedHost }}"
- name: SW_PYPI_RETRIES
value: "{{ .Values.mirror.pypi.retries }}"
value: "{{ default "10" .Values.mirror.pypi.retries }}"
- name: SW_PYPI_TIMEOUT
value: "{{ .Values.mirror.pypi.timeout }}"
value: "{{ default "90" .Values.mirror.pypi.timeout }}"
{{- end}}
{{- end}}

Expand Down
2 changes: 0 additions & 2 deletions scripts/e2e_test/start_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ start_starwhale() {
--set mirror.pypi.indexUrl=http://$NEXUS_HOSTNAME:$PORT_NEXUS/repository/$REPO_NAME_PYPI/simple \
--set mirror.pypi.extraIndexUrl=$SW_PYPI_EXTRA_INDEX_URL \
--set mirror.pypi.trustedHost=$NEXUS_HOSTNAME \
--set mirror.pypi.retries=10 \
--set mirror.pypi.timeout=600 \
--set controller.ingress.enabled=true \
--set controller.ingress.host=$CONTROLLER_HOST \
--set minio.ingress.enabled=true \
Expand Down

0 comments on commit 314d851

Please sign in to comment.