diff options
| author | 2020-11-26 18:56:56 +0000 | |
|---|---|---|
| committer | 2020-11-26 18:56:56 +0000 | |
| commit | 182da79739a134b8d574bf995601bc33b2f9a8c8 (patch) | |
| tree | 26c57af0d6b4fa7a6d4f7d2b578b741662c01bfc /deployment.yaml | |
| parent | linebreak in SCHEMA.md (diff) | |
| parent | Add secretRef key to deployment.yaml (diff) | |
Merge pull request #1 from python-discord/docker-ci-deployment
Diffstat (limited to 'deployment.yaml')
| -rw-r--r-- | deployment.yaml | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..56134a2 --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,23 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: +  name: forms-backend +spec: +  replicas: 1 +  selector: +    matchLabels: +      app: forms-backend +  template: +    metadata: +      labels: +        app: forms-backend +    spec: +      containers: +        - name: forms-backend +          image: ghcr.io/python-discord/forms-backend:latest +          imagePullPolicy: Always +          ports: +            - containerPort: 8000 +          envFrom: +            - secretRef: +                name: forms-backend-env | 
