add postgresql client with secret

This commit is contained in:
Nico Schottelius 2026-02-18 09:44:27 +01:00
commit da9783c06d

View file

@ -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