From da9783c06d257f9c646008ccb1695ce4033fd201 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 18 Feb 2026 09:44:27 +0100 Subject: [PATCH] add postgresql client with secret --- generic/postgres-client-pod-with-secrets.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 generic/postgres-client-pod-with-secrets.yaml diff --git a/generic/postgres-client-pod-with-secrets.yaml b/generic/postgres-client-pod-with-secrets.yaml new file mode 100644 index 0000000..aaa59b9 --- /dev/null +++ b/generic/postgres-client-pod-with-secrets.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Pod +metadata: + name: postgres-client +spec: + containers: + - name: postgres + image: postgres:18 + command: ["/bin/sh"] + args: + - -c + - "sleep 1000000" + volumeMounts: + - mountPath: /postgres-mas + name: postgres-mas + - mountPath: /postgres-synapse + name: postgres-synapse + - mountPath: /postgres-app + name: postgres-app + volumes: + - name: postgres-mas + secret: + secretName: postgres-mas-test + - name: postgres-synapse + secret: + secretName: postgres-synapse-test + - name: postgres-app + secret: + secretName: postgresql-test-openshift-postgresql-app