Compare commits

..

9 Commits

Author SHA1 Message Date
Dustin Pianalto
aea88c632e Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 20:26:32 -08:00
Dustin Pianalto
dd60c9067b Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 19:56:13 -08:00
Dustin Pianalto
03818d6102 Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 19:31:01 -08:00
Dustin Pianalto
4e1ca8a700 Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 19:23:52 -08:00
Dustin Pianalto
be0ed2a40d Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 18:37:26 -08:00
Dustin Pianalto
af07976c78 Add pgbouncer
Some checks failed
CI / build (push) Has been cancelled
2021-10-10 18:18:40 -08:00
Dusty.P
fb4f43c234
Update deployment.yml
Some checks failed
CI / build (push) Has been cancelled
2021-10-05 23:45:08 -08:00
Dustin Pianalto
34a6c0cdd3 Merge branch 'master' of github.com:dustinpianalto/Goff
Some checks failed
CI / build (push) Has been cancelled
2021-10-05 23:34:30 -08:00
Dusty.P
a6cde5c69c
Update main.yml
Some checks failed
CI / build (push) Has been cancelled
2021-10-05 23:09:00 -08:00
2 changed files with 29 additions and 2 deletions

View File

@ -61,4 +61,4 @@ jobs:
run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml
- name: Verify deployment - name: Verify deployment
run: kubectl rollout status deployment/goff run: kubectl rollout status deployment/goff -n discord-bots

View File

@ -21,6 +21,33 @@ spec:
app: goff app: goff
spec: spec:
containers: containers:
- name: pgbouncer
image: timoha/pgbouncer:1.15.0
resources:
requests:
memory: "256Mi"
cpu: "0.5"
limits:
memory: "512Mi"
cpu: "1"
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: goff
key: pgbouncer_url
- name: SERVER_TLS_SSLMODE
valueFrom:
secretKeyRef:
name: goff
key: pgbouncer_ssl
- name: AUTH_TYPE
valueFrom:
secretKeyRef:
name: goff
key: pgbouncer_auth
ports:
- containerPort: 5432
- name: goff - name: goff
image: <IMAGE> image: <IMAGE>
resources: resources:
@ -52,4 +79,4 @@ spec:
name: goff name: goff
key: email_password key: email_password
imagePullSecrets: imagePullSecrets:
- name: registry-2 - name: registry-1