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