From 8d66cb1f66c27b0ac3ce39291e9a0a39f654b0fb Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Thu, 21 Jan 2021 12:52:18 +0100 Subject: [PATCH] postgres svc fix --- apps/postgresql/postgresql-deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/postgresql/postgresql-deploy.yaml b/apps/postgresql/postgresql-deploy.yaml index 94d95e3..5f0361c 100644 --- a/apps/postgresql/postgresql-deploy.yaml +++ b/apps/postgresql/postgresql-deploy.yaml @@ -21,6 +21,9 @@ spec: containers: - name: postgres image: postgres + ports: + - containerPort: 5432 + protocol: TCP volumeMounts: - name: postgres-disk mountPath: /var/lib/postgresql/data @@ -76,4 +79,4 @@ spec: type: LoadBalancer ports: - port: 5432 - targetPort: 5432 \ No newline at end of file + targetPort: 5432