patch/update services on type change (#824)

* use Update when disabling LoadBalancer + added e2e test
This commit is contained in:
Felix Kunde
2020-02-13 16:24:15 +01:00
committed by GitHub
parent 744c71d16b
commit 3b10dc645d
4 changed files with 86 additions and 76 deletions
+1 -1
View File
@@ -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 {