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
Copy file name to clipboardExpand all lines: cmd/mcs-controller-manager/main.go
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ package main
8
8
9
9
import (
10
10
"context"
11
+
"errors"
11
12
"flag"
12
13
"os"
13
14
"os/signal"
@@ -60,7 +61,9 @@ var (
60
61
tlsClientInsecure=flag.Bool("tls-insecure", false, "Enable TLSClientConfig.Insecure property. Enabling this will make the connection inSecure (should be 'true' for testing purpose only.)")
61
62
fleetSystemNamespace=flag.String("fleet-system-namespace", "fleet-system", "The reserved system namespace used by fleet.")
62
63
63
-
isV1Beta1APIEnabled=flag.Bool("enable-v1beta1-apis", true, "If set, the agents will watch for the v1beta1 APIs.")
64
+
// TODO(weiweng): remove fleet v1alpha1 flag after references was removed elsewhere.
65
+
isV1Alpha1APIEnabled=flag.Bool("enable-v1alpha1-apis", false, "If set, the agents will watch for the v1alpha1 APIs. This flag is deprecated and will be removed in future releases.")
66
+
isV1Beta1APIEnabled=flag.Bool("enable-v1beta1-apis", true, "If set, the agents will watch for the v1beta1 APIs.")
64
67
65
68
enableNetworkingFeatures=flag.Bool("enable-networking-features", true, "If set, the networking features will be enabled. When disabled, only heartbeat functionality is preserved.")
Copy file name to clipboardExpand all lines: cmd/member-net-controller-manager/main.go
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ package main
9
9
10
10
import (
11
11
"context"
12
+
"errors"
12
13
"flag"
13
14
"fmt"
14
15
"os"
@@ -70,7 +71,9 @@ var (
70
71
tlsClientInsecure=flag.Bool("tls-insecure", false, "Enable TLSClientConfig.Insecure property. Enabling this will make the connection inSecure (should be 'true' for testing purpose only.)")
71
72
fleetSystemNamespace=flag.String("fleet-system-namespace", "fleet-system", "The reserved system namespace used by fleet.")
72
73
73
-
isV1Beta1APIEnabled=flag.Bool("enable-v1beta1-apis", true, "If set, the agents will watch for the v1beta1 APIs.")
74
+
// TODO(weiweng): remove fleet v1alpha1 flag after references was removed elsewhere.
75
+
isV1Alpha1APIEnabled=flag.Bool("enable-v1alpha1-apis", false, "If set, the agents will watch for the v1alpha1 APIs. This flag is deprecated and will be removed in future releases.")
76
+
isV1Beta1APIEnabled=flag.Bool("enable-v1beta1-apis", true, "If set, the agents will watch for the v1beta1 APIs.")
74
77
75
78
enableTrafficManagerFeature=flag.Bool("enable-traffic-manager-feature", true, "If set, the traffic manager feature will be enabled.")
0 commit comments