diff --git a/scripts/test/postgres-deployment.yaml b/scripts/test/postgres-deployment.yaml index e69de29bb..05aa006f4 100644 --- a/scripts/test/postgres-deployment.yaml +++ b/scripts/test/postgres-deployment.yaml @@ -0,0 +1,26 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: postgres +spec: + replicas: 1 + selector: + matchLabels: + app: postgres + template: + metadata: + labels: + app: postgres + spec: + containers: + + - name: postgres + image: bitnami/postgres:latest # Replace with desired Bitnami Postgres image + env: + - name: POSTGRES_PASSWORD + valueFrom: + secretKeyRef: + name: postgres-postgresql + key: postgres-password + ports: + - containerPort: 5432