Compare commits

..

No commits in common. "master" and "v0.0.34" have entirely different histories.

2 changed files with 3 additions and 37 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 -n discord-bots run: kubectl rollout status deployment/goff

View File

@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: goff name: goff
namespace: discord-bots namespace: default
labels: labels:
app: goff app: goff
spec: spec:
@ -21,42 +21,8 @@ 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:
requests:
memory: "512Mi"
cpu: "1"
limits:
memory: "1Gi"
cpu: "2"
env: env:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
@ -79,4 +45,4 @@ spec:
name: goff name: goff
key: email_password key: email_password
imagePullSecrets: imagePullSecrets:
- name: registry-1 - name: registry-2