aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-14 22:44:58 +0000
committerGravatar Joe Banks <[email protected]>2020-11-14 22:44:58 +0000
commit113c9f5e403753c7fc826f89691feb7b42953807 (patch)
tree0403ea199d6d8112a9dc6227dc8dca4c253356da
parentAdd Kubernetes deployment stage to GitHub Actions (diff)
Add Kubernetes deployment manifest
-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 00000000..b04b528c
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,21 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: seasonalbot
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: seasonalbot
+ template:
+ metadata:
+ labels:
+ app: seasonalbot
+ spec:
+ containers:
+ - name: seasonalbot
+ image: ghcr.io/python-discord/seasonalbot:latest
+ imagePullPolicy: Always
+ envFrom:
+ - secretRef:
+ name: seasonalbot-env