Compare commits

..
5 Commits
Author SHA1 Message Date
Dustin Pianalto be0ed2a40d Add pgbouncer
CI / build (push) Has been cancelled
2021-10-10 18:37:26 -08:00
Dustin Pianalto af07976c78 Add pgbouncer
CI / build (push) Has been cancelled
2021-10-10 18:18:40 -08:00
Dusty.P fb4f43c234 Update deployment.yml
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
CI / build (push) Has been cancelled
2021-10-05 23:34:30 -08:00
Dusty.P a6cde5c69c Update main.yml
CI / build (push) Has been cancelled
2021-10-05 23:09:00 -08:00
2 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -61,4 +61,4 @@ jobs:
run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml
- name: Verify deployment
run: kubectl rollout status deployment/goff
run: kubectl rollout status deployment/goff -n discord-bots
+18 -1
View File
@@ -21,6 +21,23 @@ spec:
app: goff
spec:
containers:
- name: pgbouncer
image: timoha/pgbouncer
resources:
requests:
memory: "256Mi"
cpu: "0.5"
limits:
memory: "512Mi"
cpu: "1"
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: goff
key: pgbouncer_url
ports:
- containerPort: 5432
- name: goff
image: <IMAGE>
resources:
@@ -52,4 +69,4 @@ spec:
name: goff
key: email_password
imagePullSecrets:
- name: registry-2
- name: registry-1