mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-02 13:38:24 +02:00
Minor improvements
This commit is contained in:
@@ -703,7 +703,7 @@ func (c *Cluster) generateService(role PostgresRole, spec *spec.PostgresSpec) *v
|
||||
|
||||
var annotations map[string]string
|
||||
|
||||
if c.shouldCreateLoadBalancerForService(role, spec) == true {
|
||||
if c.shouldCreateLoadBalancerForService(role, spec) {
|
||||
|
||||
// safe default value: lock load balancer to only local address unless overridden explicitly.
|
||||
sourceRanges := []string{localHost}
|
||||
|
||||
Reference in New Issue
Block a user