nixos-configs/k8s/pinbot/main.yml

29 lines
595 B
YAML
Raw Permalink Normal View History

2021-11-15 17:37:48 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: pinbot-deployment
labels:
app: pinbot-deployment
keel.sh/policy: force
spec:
replicas: 1
selector:
matchLabels:
app: pinbot-deployment
template:
metadata:
labels:
app: pinbot-deployment
spec:
containers:
- name: pinbot-deployment
image: registry.voidcorp.nl/library/pinbot:main
env:
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: pinbot-stuff
key: token
imagePullSecrets:
- name: regcred