diff options
| author | 2020-11-14 22:53:49 +0000 | |
|---|---|---|
| committer | 2020-11-14 22:53:49 +0000 | |
| commit | 1b1947446cfa86c8fe0c58f731e0c6c4f1a8c1cc (patch) | |
| tree | 139103d9cbd5a988e7b6536cce8a255da1aa8245 /deployment.yaml | |
| parent | Merge pull request #515 from python-discord/feature/non-persistence (diff) | |
| parent | Merge build and deploy stages (diff) | |
Merge pull request #516 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 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  |