You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.")
80
-
leaderElectionNamespace=flag.String("leader-election-namespace", "kube-system", "The namespace in which the leader election resource will be created.")
81
-
enableV1Alpha1APIs=flag.Bool("enable-v1alpha1-apis", true, "If set, the agents will watch for the v1alpha1 APIs.")
82
-
enableV1Beta1APIs=flag.Bool("enable-v1beta1-apis", false, "If set, the agents will watch for the v1beta1 APIs.")
78
+
leaderElectionNamespace=flag.String("leader-election-namespace", "kube-system", "The namespace in which the leader election resource will be created.")
79
+
// TODO(weiweng): only keep enableV1Alpha1APIs for backward compatibility with helm charts. Remove soon.
80
+
enableV1Alpha1APIs=flag.Bool("enable-v1alpha1-apis", false, "If set, the agents will watch for the v1alpha1 APIs. This is deprecated and will be removed soon.")
81
+
enableV1Beta1APIs=flag.Bool("enable-v1beta1-apis", true, "If set, the agents will watch for the v1beta1 APIs.")
83
82
propertyProvider=flag.String("property-provider", "none", "The property provider to use for the agent.")
84
83
region=flag.String("region", "", "The region where the member cluster resides.")
85
84
cloudConfigFile=flag.String("cloud-config", "/etc/kubernetes/provider/config.json", "The path to the cloud cloudconfig file.")
0 commit comments