File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
deploy/helm/semantic-router Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 7070 env :
7171 - name : HF_HUB_CACHE
7272 value : /tmp/hf_cache
73+ {{- with .Values.initContainer.env }}
74+ {{- toYaml . | nindent 10 }}
75+ {{- end }}
7376 resources :
7477 {{- toYaml .Values.initContainer.resources | nindent 10 }}
7578 volumeMounts :
Original file line number Diff line number Diff line change @@ -135,6 +135,18 @@ initContainer:
135135 requests :
136136 memory : " 1Gi"
137137 cpu : " 500m"
138+ # -- Additional environment variables for the init container.
139+ # For example, to use a private Hugging Face model, you can pass a token
140+ # and specify an endpoint using a pre-existing Kubernetes secret.
141+ # env:
142+ # - name: HF_TOKEN
143+ # valueFrom:
144+ # secretKeyRef:
145+ # name: my-hf-secret
146+ # key: token
147+ # - name: HF_ENDPOINT
148+ # value: "https://huggingface.co"
149+ env : []
138150 # -- Models to download
139151 models :
140152 - name : all-MiniLM-L12-v2
You can’t perform that action at this time.
0 commit comments