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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ const (
logicalBackupContainerName = "logical-backup" logicalBackupContainerName = "logical-backup"
connectionPoolerContainer = "connection-pooler" connectionPoolerContainer = "connection-pooler"
pgPort = 5432 pgPort = 5432
operatorPort = 8080
) )
type pgUser struct { type pgUser struct {
@ -567,7 +568,7 @@ func generateContainer(
Protocol: v1.ProtocolTCP, Protocol: v1.ProtocolTCP,
}, },
{ {
ContainerPort: patroni.ApiPort, ContainerPort: operatorPort,
Protocol: v1.ProtocolTCP, Protocol: v1.ProtocolTCP,
}, },
}, },