2022-05-24 12:38:44 +02:00
|
|
|
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
|
2022-06-24 17:39:24 +02:00
|
|
|
image: registry.asraphiel.dev/library/pinbot-rs:main
|
2022-05-24 12:38:44 +02:00
|
|
|
env:
|
|
|
|
- name: DISCORD_TOKEN
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: pinbot-secrets
|
|
|
|
key: token
|
|
|
|
imagePullSecrets:
|
|
|
|
- name: registry-creds
|