@@ -92,13 +92,13 @@ func main() {
9292 flag .StringVar (& credsDir , "credentials-directory" , "" , "Optional, directory that contains the BIG-IP username," +
9393 "password, and/or url files. To be used instead of username, password, and/or url arguments." )
9494 flag .StringVar (& controllerName , "controller-name" , "f5.io/gateway-controller-name" , "This controller name." )
95- flag .StringVar (& mode , "mode" , "flannel " , "if set to calico or flannel, will make some related configs onto bigip automatically." )
95+ flag .StringVar (& mode , "mode" , "" , "if set to calico or flannel, will make some related configs onto bigip automatically." )
9696 flag .StringVar (& vxlanProfileName , "vxlan-profile-name" , "fl-vxlan" , "vxlan profile name on bigip." )
9797 flag .StringVar (& vxlanPort , "vxlan-port" , "8472" , "port number in the vxlan profile." )
9898 flag .StringVar (& vxlanTunnelName , "vxlan-tunnel-name" , "fl-vxlan" , "vxlan tunnel name on bigip." )
99- flag .StringVar (& vxlanLocalAddress , "vxlan-local-address" , "9.4.4.4 " , "local address in the vxlan tunnel. e.g. 192.168.2.100" )
99+ flag .StringVar (& vxlanLocalAddress , "vxlan-local-address" , "" , "local address in the vxlan tunnel. e.g. 192.168.2.100" )
100100 flag .StringVar (& selfIpName , "selfip-name" , "flannel-self" , "flannel selfip name." )
101- flag .StringVar (& selfIpAddress , "selfip-address" , "5.5.5.5/28 " , "flannel selfip ip address. e.g. 192.168.1.100/24" )
101+ flag .StringVar (& selfIpAddress , "selfip-address" , "" , "flannel selfip ip address. e.g. 192.168.1.100/24" )
102102
103103 opts := zap.Options {
104104 Development : true ,
@@ -108,6 +108,7 @@ func main() {
108108
109109 pkg .ActiveSIGs .ControllerName = controllerName
110110 pkg .ActiveSIGs .Mode = mode
111+ pkg .ActiveSIGs .VxlanTunnelName = vxlanTunnelName
111112
112113 if (len (bigipUrl ) == 0 || len (bigipUsername ) == 0 ||
113114 len (bigipPassword ) == 0 ) && len (credsDir ) == 0 {
0 commit comments