fix container ports
This commit is contained in:
parent
cde88d3711
commit
c7268a2f88
|
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue