From d01e08956be66c8b42c272e4e5e5773ce8babb4c Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Fri, 4 Jul 2025 09:22:00 +0000 Subject: [PATCH] Remove deprecated HUGGINGFACEHUB_API_TOKEN env Signed-off-by: Lianhao Lu --- helm-charts/common/agent/templates/configmap.yaml | 1 - helm-charts/common/data-prep/templates/configmap.yaml | 1 - helm-charts/common/guardrails-usvc/templates/configmap.yaml | 1 - helm-charts/common/lvm-serve/templates/configmap.yaml | 1 - helm-charts/common/retriever-usvc/templates/configmap.yaml | 1 - 5 files changed, 5 deletions(-) diff --git a/helm-charts/common/agent/templates/configmap.yaml b/helm-charts/common/agent/templates/configmap.yaml index c857b62d5..762e311f8 100644 --- a/helm-charts/common/agent/templates/configmap.yaml +++ b/helm-charts/common/agent/templates/configmap.yaml @@ -103,7 +103,6 @@ data: {{- if .Values.FINANCIAL_DATASETS_API_KEY }} FINANCIAL_DATASETS_API_KEY: {{ .Values.FINANCIAL_DATASETS_API_KEY | quote }} {{- end }} - HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_HOME: "/tmp/.cache/huggingface" {{- if .Values.global.HF_ENDPOINT }} diff --git a/helm-charts/common/data-prep/templates/configmap.yaml b/helm-charts/common/data-prep/templates/configmap.yaml index 800882672..149f68fb5 100644 --- a/helm-charts/common/data-prep/templates/configmap.yaml +++ b/helm-charts/common/data-prep/templates/configmap.yaml @@ -76,7 +76,6 @@ data: {{- else }} {{- cat "Invalid DATAPREP_BACKEND:" .Values.DATAPREP_BACKEND | fail }} {{- end }} - HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_HOME: "/tmp/.cache/huggingface" {{- if .Values.global.HF_ENDPOINT }} diff --git a/helm-charts/common/guardrails-usvc/templates/configmap.yaml b/helm-charts/common/guardrails-usvc/templates/configmap.yaml index 16a5762d2..0f0d46d4e 100644 --- a/helm-charts/common/guardrails-usvc/templates/configmap.yaml +++ b/helm-charts/common/guardrails-usvc/templates/configmap.yaml @@ -21,7 +21,6 @@ data: {{- else }} {{- cat "Invalid GUARDRAIL_BACKEND:" .Values.GUARDRAIL_BACKEND | fail }} {{- end }} - HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_HOME: "/tmp/.cache/huggingface" LOGFLAG: {{ .Values.LOGFLAG | quote }} diff --git a/helm-charts/common/lvm-serve/templates/configmap.yaml b/helm-charts/common/lvm-serve/templates/configmap.yaml index c27600ef1..eddc8eeb8 100644 --- a/helm-charts/common/lvm-serve/templates/configmap.yaml +++ b/helm-charts/common/lvm-serve/templates/configmap.yaml @@ -22,7 +22,6 @@ data: MODEL_ID: {{ .Values.LVM_MODEL_ID | quote }} {{- end }} HF_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} - HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} {{- if .Values.global.HF_ENDPOINT }} HF_ENDPOINT: {{ .Values.global.HF_ENDPOINT | quote}} {{- end }} diff --git a/helm-charts/common/retriever-usvc/templates/configmap.yaml b/helm-charts/common/retriever-usvc/templates/configmap.yaml index 64f0c55ef..24bb4d6ef 100644 --- a/helm-charts/common/retriever-usvc/templates/configmap.yaml +++ b/helm-charts/common/retriever-usvc/templates/configmap.yaml @@ -61,7 +61,6 @@ data: no_proxy: {{ tpl .Values.global.no_proxy . | quote }} {{- end }} HF_HOME: "/tmp/.cache/huggingface" - HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} HF_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | default .Values.global.HF_TOKEN | quote }} LOGFLAG: {{ .Values.LOGFLAG | quote }} NUMBA_CACHE_DIR: "/tmp/numba/cache"