Skip to content

Commit e6a5bcd

Browse files
committed
show featuregate overriding per-binary
1 parent 7aab98a commit e6a5bcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/kube-controller-manager/controller-manager.go

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ limitations under the License.
2121
package main
2222

2323
import (
24+
clientfeatures "k8s.io/client-go/features"
25+
"k8s.io/utils/featuregates"
2426
"os"
2527
_ "time/tzdata" // for CronJob Time Zone support
2628

@@ -32,6 +34,8 @@ import (
3234
)
3335

3436
func main() {
37+
clientfeatures.WatchListClient2.(featuregates.MutableFeatureGate).OverrideDefaultValue(true)
38+
3539
command := app.NewControllerManagerCommand()
3640
code := cli.Run(command)
3741
os.Exit(code)

0 commit comments

Comments
 (0)