diff options
author | 2020-11-15 19:56:24 +0000 | |
---|---|---|
committer | 2020-11-15 19:56:24 +0000 | |
commit | a7f14a1e9055b1dfc794112ba353d401582e6662 (patch) | |
tree | 471f18e52e3b3aa2e0152ea733999087f2678e98 | |
parent | Merge pull request #1284 from python-discord/sebastiaan/features/move-ci-to-g... (diff) |
Add Kubernetes deployment manifest
-rw-r--r-- | deployment.yaml | 21 |
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 |