File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
components/ws-manager-mk2 Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -118,12 +118,13 @@ func main() {
118
118
}
119
119
120
120
mgr , err := ctrl .NewManager (ctrl .GetConfigOrDie (), ctrl.Options {
121
- Scheme : scheme ,
122
- MetricsBindAddress : cfg .Prometheus .Addr ,
123
- Port : 9443 ,
124
- HealthProbeBindAddress : cfg .Health .Addr ,
125
- LeaderElection : true ,
126
- LeaderElectionID : "ws-manager-mk2-leader.gitpod.io" ,
121
+ Scheme : scheme ,
122
+ MetricsBindAddress : cfg .Prometheus .Addr ,
123
+ Port : 9443 ,
124
+ HealthProbeBindAddress : cfg .Health .Addr ,
125
+ LeaderElection : true ,
126
+ LeaderElectionID : "ws-manager-mk2-leader.gitpod.io" ,
127
+ LeaderElectionReleaseOnCancel : true ,
127
128
NewCache : func (config * rest.Config , opts cache.Options ) (cache.Cache , error ) {
128
129
opts .Namespaces = []string {cfg .Manager .Namespace , cfg .Manager .SecretsNamespace }
129
130
return cache .New (config , opts )
You can’t perform that action at this time.
0 commit comments