fix container ports

This commit is contained in:
Felix Kunde 2022-04-21 18:40:07 +02:00
parent cde88d3711
commit c7268a2f88
1 changed files with 2 additions and 1 deletions

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,
},
},