From d615d61e954d2fc5a4c5de948181b1687a13cac1 Mon Sep 17 00:00:00 2001 From: Mike Sellers Date: Fri, 25 Oct 2024 14:10:26 -0400 Subject: [PATCH] SEM-227 - Implement client_tls_ca_file for pgbouncer --- manifests/dev/deployment.yml | 7 ++++++- manifests/prod/deployment.yml | 7 ++++++- manifests/stage/deployment.yml | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/manifests/dev/deployment.yml b/manifests/dev/deployment.yml index 1df0d4613..516f7b266 100644 --- a/manifests/dev/deployment.yml +++ b/manifests/dev/deployment.yml @@ -44,7 +44,7 @@ spec: - containerPort: 5432 volumeMounts: - mountPath: /etc/pgbouncer/client_root_ca.crt - name: semesterly-az-postgres-tls-root-ca.crt + name: semesterly-az-postgres-tls-root-ca subPath: client_root_ca.crt resources: requests: @@ -186,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 \ No newline at end of file diff --git a/manifests/prod/deployment.yml b/manifests/prod/deployment.yml index 387c99dbf..919304926 100644 --- a/manifests/prod/deployment.yml +++ b/manifests/prod/deployment.yml @@ -45,7 +45,7 @@ spec: - containerPort: 5432 volumeMounts: - mountPath: /etc/pgbouncer/client_root_ca.crt - name: semesterly-az-postgres-tls-root-ca.crt + name: semesterly-az-postgres-tls-root-ca subPath: client_root_ca.crt resources: requests: @@ -186,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 \ No newline at end of file diff --git a/manifests/stage/deployment.yml b/manifests/stage/deployment.yml index 0b7e80863..924a7ea7e 100644 --- a/manifests/stage/deployment.yml +++ b/manifests/stage/deployment.yml @@ -45,7 +45,7 @@ spec: - containerPort: 5432 volumeMounts: - mountPath: /etc/pgbouncer/client_root_ca.crt - name: semesterly-az-postgres-tls-root-ca.crt + name: semesterly-az-postgres-tls-root-ca subPath: client_root_ca.crt resources: requests: @@ -187,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 \ No newline at end of file