30 lines
627 B
YAML
30 lines
627 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-rs:main
|
|
env:
|
|
- name: DISCORD_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: pinbot-secrets
|
|
key: token
|
|
imagePullSecrets:
|
|
- name: registry-creds
|