fix multicluster options (#2037)
This commit is contained in:
@@ -57,12 +57,13 @@ func NewControllerManagerCommand() *cobra.Command {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
// make sure LeaderElection is not nil
|
// make sure LeaderElection is not nil
|
||||||
s = &options.KubeSphereControllerManagerOptions{
|
s = &options.KubeSphereControllerManagerOptions{
|
||||||
KubernetesOptions: conf.KubernetesOptions,
|
KubernetesOptions: conf.KubernetesOptions,
|
||||||
DevopsOptions: conf.DevopsOptions,
|
DevopsOptions: conf.DevopsOptions,
|
||||||
S3Options: conf.S3Options,
|
S3Options: conf.S3Options,
|
||||||
OpenPitrixOptions: conf.OpenPitrixOptions,
|
OpenPitrixOptions: conf.OpenPitrixOptions,
|
||||||
LeaderElection: s.LeaderElection,
|
MultiClusterOptions: conf.MultiClusterOptions,
|
||||||
LeaderElect: s.LeaderElect,
|
LeaderElection: s.LeaderElection,
|
||||||
|
LeaderElect: s.LeaderElect,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user