This commit is contained in:
nora 2022-06-28 20:51:57 +02:00
parent 3f0a29eabf
commit 68768a3e7c
4 changed files with 109 additions and 0 deletions

34
kube/karin.yaml Normal file
View file

@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: karin
spec:
selector:
matchLabels:
app: karin
replicas: 1
template:
metadata:
labels:
app: karin
spec:
containers:
- name: court-bot
image: discord-court-bot:1.0
envFrom:
- configMapRef:
name: karin
- secretRef:
name: karin
---
apiVersion: v1
kind: ConfigMap
metadata:
name: karin
data:
RUST_LOG: court_bot=DEBUG
GUILD_ID: "459006129670979584"
MONGO_URI: mongodb://localhost:27017
DB_NAME: karin
MONGO_INITDB_ROOT_USERNAME: root
SET_GLOBAL: ''