aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-19 01:20:22 +0000
committerGravatar GitHub <[email protected]>2020-11-19 01:20:22 +0000
commit506909ef9de51709d615c61f9462c0d964058c20 (patch)
treee96ee7dad3cc7d9b881e52181fc2c62ba364a6d1 /deployment.yaml
parentMerge pull request #1290 from python-discord/sebastiaan/backend/improve-actio... (diff)
parentMerge branch 'master' into kubernetes-deploy (diff)
Merge pull request #1286 from python-discord/kubernetes-deploy
Diffstat (limited to 'deployment.yaml')
-rw-r--r--deployment.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml
new file mode 100644
index 000000000..ca5ff5941
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,21 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: bot
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: bot
+ template:
+ metadata:
+ labels:
+ app: bot
+ spec:
+ containers:
+ - name: bot
+ image: ghcr.io/python-discord/bot:latest
+ imagePullPolicy: Always
+ envFrom:
+ - secretRef:
+ name: bot-env