mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 21:10:42 +02:00
patch/update services on type change (#824)
* use Update when disabling LoadBalancer + added e2e test
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ func (c *Cluster) syncServices() error {
|
||||
c.logger.Debugf("syncing %s service", role)
|
||||
|
||||
if err := c.syncEndpoint(role); err != nil {
|
||||
return fmt.Errorf("could not sync %s endpont: %v", role, err)
|
||||
return fmt.Errorf("could not sync %s endpoint: %v", role, err)
|
||||
}
|
||||
|
||||
if err := c.syncService(role); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user