Skip to content

Commit 8b6664f

Browse files
authored
fix container ports (zalando#1864)
1 parent cde88d3 commit 8b6664f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cluster/k8sres.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const (
4242
logicalBackupContainerName = "logical-backup"
4343
connectionPoolerContainer = "connection-pooler"
4444
pgPort = 5432
45+
operatorPort = 8080
4546
)
4647

4748
type pgUser struct {
@@ -567,7 +568,7 @@ func generateContainer(
567568
Protocol: v1.ProtocolTCP,
568569
},
569570
{
570-
ContainerPort: patroni.ApiPort,
571+
ContainerPort: operatorPort,
571572
Protocol: v1.ProtocolTCP,
572573
},
573574
},

0 commit comments

Comments
 (0)