mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 21:10:42 +02:00
bump pooler image to use new alpine base image (#1985)
* bump pooler image to use new alpine base image * use a safe default for PGHOST pooler env variable
This commit is contained in:
@@ -102,8 +102,9 @@ func (c *Cluster) serviceAddress(role PostgresRole) string {
|
||||
return service.ObjectMeta.Name
|
||||
}
|
||||
|
||||
c.logger.Warningf("No service for role %s", role)
|
||||
return ""
|
||||
defaultAddress := c.serviceName(role)
|
||||
c.logger.Warningf("No service for role %s - defaulting to %s", role, defaultAddress)
|
||||
return defaultAddress
|
||||
}
|
||||
|
||||
func (c *Cluster) servicePort(role PostgresRole) int32 {
|
||||
|
||||
Reference in New Issue
Block a user