diff --git a/projects/ai/project.yaml b/projects/ai/project.yaml index a08f02b3..e6ef8041 100644 --- a/projects/ai/project.yaml +++ b/projects/ai/project.yaml @@ -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 diff --git a/projects/ai/values/localai.yaml b/projects/ai/values/localai.yaml index 9198d059..4bd38337 100644 --- a/projects/ai/values/localai.yaml +++ b/projects/ai/values/localai.yaml @@ -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: