aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-21 09:37:57 +0200
committerGravatar GitHub <[email protected]>2020-11-21 09:37:57 +0200
commit95429b10aab81d849ab86241f411bbc122ea1594 (patch)
tree707b7f6055e8cd6d11f1034ed6296470bc437416 /deployment.yaml
parentEH tests: Fix InWhitelistCheckFailure import path (diff)
parentMerge pull request #1287 from python-discord/help-channel-msg (diff)
Merge branch 'master' into error-handler-test
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