mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
feat(localai): envFromSecret
This commit is contained in:
parent
29283793eb
commit
5b3d2b8669
2 changed files with 14 additions and 1 deletions
|
@ -8,7 +8,11 @@ apps:
|
||||||
# targetRevision: 3.1.0
|
# targetRevision: 3.1.0
|
||||||
repoURL: https://github.com/nold360/localai-charts.git
|
repoURL: https://github.com/nold360/localai-charts.git
|
||||||
path: charts/local-ai
|
path: charts/local-ai
|
||||||
targetRevision: feat/runtimeclass
|
targetRevision: feat/envsecret
|
||||||
|
secrets:
|
||||||
|
- name: localai
|
||||||
|
keys:
|
||||||
|
- hf-token
|
||||||
|
|
||||||
- name: anythingllm
|
- name: anythingllm
|
||||||
repo: bjw-s
|
repo: bjw-s
|
||||||
|
@ -48,6 +52,7 @@ apps:
|
||||||
- ombi-api-key
|
- ombi-api-key
|
||||||
- prompt-template
|
- prompt-template
|
||||||
- instruct-template
|
- instruct-template
|
||||||
|
- OPENWEATHERMAP_API_KEY
|
||||||
ignoreDiff:
|
ignoreDiff:
|
||||||
- group: apps
|
- group: apps
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
|
|
@ -56,6 +56,14 @@ deployment:
|
||||||
# UPLOAD_LIMIT
|
# UPLOAD_LIMIT
|
||||||
|
|
||||||
# HUGGINGFACEHUB_API_TOKEN=Token here
|
# HUGGINGFACEHUB_API_TOKEN=Token here
|
||||||
|
# Inject Secrets into Environment:
|
||||||
|
secretEnv:
|
||||||
|
- name: HF_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: localai
|
||||||
|
key: hf-token
|
||||||
|
|
||||||
|
|
||||||
modelsPath: "/models"
|
modelsPath: "/models"
|
||||||
download_model:
|
download_model:
|
||||||
|
|
Loading…
Reference in a new issue