fix container ports (#1864)

This commit is contained in:
Felix Kunde
2022-04-21 18:52:53 +02:00
committed by GitHub
parent cde88d3711
commit 8b6664f1a2
+2 -1
View File
@@ -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,
},
},