Skip to content

Commit e732fa7

Browse files
authored
helm-charts: Add proxy for codegen (#80)
Allow user to run codegen with proxy settings. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
1 parent 0208998 commit e732fa7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

helm-charts/codegen/charts/llm-uservice/charts/tgi/templates/deployment.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ spec:
3434
value: {{ .Values.LLM_MODEL_ID }}
3535
- name: PORT
3636
value: {{ .Values.port | quote }}
37+
- name: HTTP_PROXY
38+
value: {{ .Values.global.http_proxy }}
39+
- name: HTTPS_PROXY
40+
value: {{ .Values.global.https_proxy }}
41+
- name: NO_PROXY
42+
value: {{ .Values.global.no_proxy }}
3743
securityContext:
3844
{{- toYaml .Values.securityContext | nindent 12 }}
3945
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

helm-charts/codegen/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ llm-uservice:
3030
LLM_MODEL_ID: ise-uiuc/Magicoder-S-DS-6.7B
3131
# LLM_MODEL_ID: /data/OpenCodeInterpreter-DS-6.7B
3232
volume: /mnt
33+
34+
global:
35+
http_proxy:
36+
https_proxy:
37+
no_proxy:

0 commit comments

Comments
 (0)