feat(bibot): env

This commit is contained in:
nold 2024-03-13 12:04:45 +01:00
parent 7272fe223c
commit 88364b72b3
2 changed files with 30 additions and 2 deletions

View file

@ -41,3 +41,9 @@ apps:
repo: bjw-s repo: bjw-s
chart: app-template chart: app-template
targetRevision: 2.4.0 targetRevision: 2.4.0
secrets:
- name: bibot
keys:
- discord-token
- ombi-api-key
- prompt-template

View file

@ -7,8 +7,23 @@ controllers:
tag: latest tag: latest
pullPolicy: Always pullPolicy: Always
#env: env:
# BIBOT_PROMPT_FILE: /config/prompt-template
BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000
OPENAI_API_URL: http://localai-local-ai.ai.svc.cluster.local/v1
OPENAI_MODEL: mixtral-8x7b-instruct
OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3575/api/v1
DISCORD_CHANNELS: "1216440541064200192"
OMBI_API_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: ombi-api-key
DISCORD_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: discord-token
probes: probes:
liveness: liveness:
enabled: false enabled: false
@ -16,6 +31,13 @@ controllers:
enabled: false enabled: false
startup: startup:
enabled: false enabled: false
persistence:
config:
name: bibot
enabled: true
type: secret
service: service:
main: main:
controller: main controller: main