Skip to content

Commit

Permalink
Merge pull request #1160 from jhuopensource/hotfix/SEM-227
Browse files Browse the repository at this point in the history
Hotfix/sem 227
  • Loading branch information
mike-sellers authored Oct 25, 2024
2 parents c69a3f0 + d615d61 commit efeef19
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
13 changes: 12 additions & 1 deletion manifests/dev/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ spec:
image: uisacr.azurecr.io/pgbouncer:latest
ports:
- containerPort: 5432
volumeMounts:
- mountPath: /etc/pgbouncer/client_root_ca.crt
name: semesterly-az-postgres-tls-root-ca
subPath: client_root_ca.crt
resources:
requests:
cpu: 100m
Expand Down Expand Up @@ -78,7 +82,9 @@ spec:
- name: AUTH_TYPE
value: plain
- name: SERVER_TLS_SSLMODE
value: disable
value: verify-ca
- name: PGBOUNCER_CLIENT_TLS_CA_FILE
value: "/etc/pgbouncer/client_root_ca.crt"
- name: MAX_CLIENT_CONN
value: "10000"
- name: DEFAULT_POOL_SIZE
Expand Down Expand Up @@ -180,3 +186,8 @@ spec:
secretKeyRef:
name: semesterly-secrets
key: JHU_JWT_AUTH_SECRET
volumes:
- configMap:
defaultMode: 420
name: semesterly-az-postgres-tls-root-ca.crt
name: semesterly-az-postgres-tls-root-ca
13 changes: 12 additions & 1 deletion manifests/prod/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
image: uisacr.azurecr.io/pgbouncer:latest
ports:
- containerPort: 5432
volumeMounts:
- mountPath: /etc/pgbouncer/client_root_ca.crt
name: semesterly-az-postgres-tls-root-ca
subPath: client_root_ca.crt
resources:
requests:
cpu: 500m
Expand Down Expand Up @@ -78,7 +82,9 @@ spec:
- name: AUTH_TYPE
value: plain
- name: SERVER_TLS_SSLMODE
value: allow
value: verify-ca
- name: PGBOUNCER_CLIENT_TLS_CA_FILE
value: "/etc/pgbouncer/client_root_ca.crt"
- name: MAX_CLIENT_CONN
value: "10000"
- name: DEFAULT_POOL_SIZE
Expand Down Expand Up @@ -180,3 +186,8 @@ spec:
secretKeyRef:
name: semesterly-secrets
key: JHU_JWT_AUTH_SECRET
volumes:
- configMap:
defaultMode: 420
name: semesterly-az-postgres-tls-root-ca.crt
name: semesterly-az-postgres-tls-root-ca
13 changes: 12 additions & 1 deletion manifests/stage/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
image: uisacr.azurecr.io/pgbouncer:latest
ports:
- containerPort: 5432
volumeMounts:
- mountPath: /etc/pgbouncer/client_root_ca.crt
name: semesterly-az-postgres-tls-root-ca
subPath: client_root_ca.crt
resources:
requests:
cpu: 100m
Expand Down Expand Up @@ -79,7 +83,9 @@ spec:
- name: AUTH_TYPE
value: plain
- name: SERVER_TLS_SSLMODE
value: disable
value: verify-ca
- name: PGBOUNCER_CLIENT_TLS_CA_FILE
value: "/etc/pgbouncer/client_root_ca.crt"
- name: MAX_CLIENT_CONN
value: "10000"
- name: DEFAULT_POOL_SIZE
Expand Down Expand Up @@ -181,3 +187,8 @@ spec:
secretKeyRef:
name: semesterly-secrets
key: JHU_JWT_AUTH_SECRET
volumes:
- configMap:
defaultMode: 420
name: semesterly-az-postgres-tls-root-ca.crt
name: semesterly-az-postgres-tls-root-ca

0 comments on commit efeef19

Please sign in to comment.