diff options
| author | 2020-11-19 01:20:22 +0000 | |
|---|---|---|
| committer | 2020-11-19 01:20:22 +0000 | |
| commit | 506909ef9de51709d615c61f9462c0d964058c20 (patch) | |
| tree | e96ee7dad3cc7d9b881e52181fc2c62ba364a6d1 /deployment.yaml | |
| parent | Merge pull request #1290 from python-discord/sebastiaan/backend/improve-actio... (diff) | |
| parent | Merge branch 'master' into kubernetes-deploy (diff) | |
Merge pull request #1286 from python-discord/kubernetes-deploy
Diffstat (limited to 'deployment.yaml')
| -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 |