diff options
| author | 2020-11-21 09:38:36 +0200 | |
|---|---|---|
| committer | 2020-11-21 09:38:36 +0200 | |
| commit | 7c218c23c82169bca518b6c01b281cce6b5ad43c (patch) | |
| tree | aa14e1dbbec945330f8dacb507d8a6f63cd08e95 /deployment.yaml | |
| parent | Catch not found exception in scheduler (diff) | |
| parent | Merge pull request #1287 from python-discord/help-channel-msg (diff) | |
Merge branch 'master' into bug-fixes
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  |