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/cloud-controller-manager/main.go
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,11 @@ var enableDiscretePortForwarding bool
67
67
// LoadBalancerClass
68
68
varenableRBSDefaultForL4NetLBbool
69
69
70
+
// enableL4LBAnnotations is bound to a command-line flag. It enables
71
+
// the controller to write annotations related to the provisioned resources
72
+
// for L4 Load Balancers services
73
+
varenableL4LBAnnotationsbool
74
+
70
75
funcmain() {
71
76
rand.Seed(time.Now().UnixNano())
72
77
@@ -85,6 +90,7 @@ func main() {
85
90
cloudProviderFS.BoolVar(&enableMultiProject, "enable-multi-project", false, "Enables project selection from Node providerID for GCE API calls. CAUTION: Only enable if Node providerID is configured by a trusted source.")
86
91
cloudProviderFS.BoolVar(&enableDiscretePortForwarding, "enable-discrete-port-forwarding", false, "Enables forwarding of individual ports instead of port ranges for GCE external load balancers.")
87
92
cloudProviderFS.BoolVar(&enableRBSDefaultForL4NetLB, "enable-rbs-default-l4-netlb", false, "Enables RBS defaulting for GCE L4 NetLB")
93
+
cloudProviderFS.BoolVar(&enableL4LBAnnotations, "enable-l4-lb-annotations", false, "Enables Annotations for GCE L4 LB Services")
0 commit comments