strato-infra/flux/cluster/apps/misc/pinbot/pinbot.yaml
2022-05-24 12:38:44 +02:00

30 lines
624 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: pinbot-deployment
namespace: misc
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.asraphiel.dev/library/pinbot:main
env:
- name: DISCORD_TOKEN
valueFrom:
secretKeyRef:
name: pinbot-secrets
key: token
imagePullSecrets:
- name: registry-creds