From 8b6664f1a29e2cc3d87ea074dd5f96368e8d9d2e Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Thu, 21 Apr 2022 18:52:53 +0200 Subject: [PATCH] fix container ports (#1864) --- pkg/cluster/k8sres.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cluster/k8sres.go b/pkg/cluster/k8sres.go index 6cdf379bd..29e0914c8 100644 --- a/pkg/cluster/k8sres.go +++ b/pkg/cluster/k8sres.go @@ -42,6 +42,7 @@ const ( logicalBackupContainerName = "logical-backup" connectionPoolerContainer = "connection-pooler" pgPort = 5432 + operatorPort = 8080 ) type pgUser struct { @@ -567,7 +568,7 @@ func generateContainer( Protocol: v1.ProtocolTCP, }, { - ContainerPort: patroni.ApiPort, + ContainerPort: operatorPort, Protocol: v1.ProtocolTCP, }, },