Use config map for election with start controllers
This change makes an invocation of
openshift start master controllers \
--config=master-config.yaml \
--lock-service-name=openshift-controllers
use a config map based lock.
@@ -88,7 +88,7 @@ func NewCommandStartMasterControllers(name, basename string, out, errout io.Writ
LockName: lockServiceName,
LockNamespace: "kube-system",
LockResource: configapi.GroupResource{
- Resource: "endpoints",
+ Resource: "configmaps",
},
}
}
