File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ appVersion: 1.40
3
3
description : A Helm chart for deploying LocalAI to a Kubernetes cluster
4
4
name : local-ai
5
5
type : application
6
- version : 3.2 .0
6
+ version : 3.3 .0
Original file line number Diff line number Diff line change @@ -242,6 +242,9 @@ spec:
242
242
{{- end }}
243
243
- name : MODELS_PATH
244
244
value : {{ .Values.deployment.modelsPath }}
245
+ {{- if .Values.deployment.secretEnv }}
246
+ {{- toYaml .Values.deployment.secretEnv | nindent 12 }}
247
+ {{- end}}
245
248
volumeMounts :
246
249
{{- range $key, $pvc := $rootPersistence}}
247
250
{{- if $pvc.enabled }}
Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ deployment:
7
7
env :
8
8
threads : 4
9
9
context_size : 512
10
+
11
+ # # Inject Secrets into Environment:
12
+ # secretEnv:
13
+ # - name: HF_TOKEN
14
+ # valueFrom:
15
+ # secretKeyRef:
16
+ # name: some-secret
17
+ # key: hf-token
18
+
10
19
modelsPath : " /models"
11
20
download_model :
12
21
# To use cloud provided (eg AWS) image, provide it like: 1234356789.dkr.ecr.us-REGION-X.amazonaws.com/busybox
You can’t perform that action at this time.
0 commit comments