2024-03-12 20:30:06 +00:00
|
|
|
controllers:
|
|
|
|
main:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
|
|
|
repository: reg.dc/bibot
|
|
|
|
tag: latest
|
|
|
|
pullPolicy: Always
|
|
|
|
|
2024-03-13 11:04:45 +00:00
|
|
|
env:
|
2024-05-13 20:20:58 +00:00
|
|
|
OPENAI_API_KEY: fake
|
2024-03-17 11:48:50 +00:00
|
|
|
BIBOT_CONFIG: /config/bibot.yml
|
2024-06-16 10:19:26 +00:00
|
|
|
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
|
|
|
PHOENIX_PROJECT_NAME: bi
|
2024-03-13 11:04:45 +00:00
|
|
|
OMBI_API_TOKEN:
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: bibot
|
|
|
|
key: ombi-api-key
|
2024-06-17 10:27:36 +00:00
|
|
|
OPENWEATHERMAP_API_KEY:
|
2024-03-13 11:04:45 +00:00
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: bibot
|
2024-06-17 10:27:36 +00:00
|
|
|
key: OPENWEATHERMAP_API_KEY
|
|
|
|
bot:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
|
|
|
repository: reg.dc/bibot
|
|
|
|
tag: latest
|
|
|
|
pullPolicy: Always
|
|
|
|
|
|
|
|
command: ["python3"]
|
|
|
|
args: ["-u", "discord_bot/main.py"]
|
|
|
|
|
|
|
|
env:
|
2024-06-21 12:46:20 +00:00
|
|
|
OPENAI_API_KEY: fake
|
2024-06-17 10:27:36 +00:00
|
|
|
BIBOT_DISCORD_TOKEN:
|
2024-06-13 19:59:37 +00:00
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: bibot
|
2024-06-17 10:27:36 +00:00
|
|
|
key: discord-token
|
|
|
|
## Prod:
|
|
|
|
BIBOT_DISCORD_CHANNELS: "1216440541064200192"
|
|
|
|
|
|
|
|
# Dev:
|
|
|
|
# BIBOT_DISCORD_CHANNELS: "1217418069693960223"
|
|
|
|
BIBOT_API_URL: "http://{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local:8000/v1"
|
2024-03-12 20:30:06 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
2024-03-13 11:04:45 +00:00
|
|
|
|
2024-03-17 11:48:50 +00:00
|
|
|
persistence:
|
|
|
|
secret:
|
2024-03-13 11:04:45 +00:00
|
|
|
name: bibot
|
|
|
|
enabled: true
|
|
|
|
type: secret
|
|
|
|
|
2024-03-17 11:48:50 +00:00
|
|
|
config:
|
|
|
|
name: bibot-config
|
|
|
|
enabled: true
|
|
|
|
type: configMap
|
|
|
|
|
2024-06-17 10:27:36 +00:00
|
|
|
data:
|
|
|
|
size: 10Gi
|
|
|
|
type: persistentVolumeClaim
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
|
2024-03-12 20:30:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
controller: main
|
|
|
|
ports:
|
|
|
|
http:
|
2024-06-17 10:27:36 +00:00
|
|
|
port: 8000
|
2024-03-12 20:30:06 +00:00
|
|
|
type: ClusterIP
|