mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 04:21:22 +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
|
||||
repoURL: https://github.com/nold360/localai-charts.git
|
||||
path: charts/local-ai
|
||||
targetRevision: feat/runtimeclass
|
||||
targetRevision: feat/envsecret
|
||||
secrets:
|
||||
- name: localai
|
||||
keys:
|
||||
- hf-token
|
||||
|
||||
- name: anythingllm
|
||||
repo: bjw-s
|
||||
|
@ -48,6 +52,7 @@ apps:
|
|||
- ombi-api-key
|
||||
- prompt-template
|
||||
- instruct-template
|
||||
- OPENWEATHERMAP_API_KEY
|
||||
ignoreDiff:
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
|
|
|
@ -56,6 +56,14 @@ deployment:
|
|||
# UPLOAD_LIMIT
|
||||
|
||||
# HUGGINGFACEHUB_API_TOKEN=Token here
|
||||
# Inject Secrets into Environment:
|
||||
secretEnv:
|
||||
- name: HF_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: localai
|
||||
key: hf-token
|
||||
|
||||
|
||||
modelsPath: "/models"
|
||||
download_model:
|
||||
|
|
Loading…
Reference in a new issue