@@ -105,6 +105,8 @@ var (
105105 bigIPPassword * string
106106 bigIPPartitions * []string
107107 credsDir * string
108+ as3Validation * bool
109+ sslInsecure * bool
108110
109111 vxlanMode string
110112 openshiftSDNName * string
@@ -172,6 +174,10 @@ func _init() {
172174 credsDir = bigIPFlags .String ("credentials-directory" , "" ,
173175 "Optional, directory that contains the BIG-IP username, password, and/or " +
174176 "url files. To be used instead of username, password, and/or url arguments." )
177+ as3Validation = bigIPFlags .Bool ("as3-validation" , true ,
178+ "Optional, when set to false, disables as3 template validation on the controller." )
179+ sslInsecure = bigIPFlags .Bool ("insecure" , false ,
180+ "Optional, when set to true, enable insecure SSL communication to BIGIP." )
175181
176182 bigIPFlags .Usage = func () {
177183 fmt .Fprintf (os .Stderr , " BigIP:\n %s\n " , bigIPFlags .FlagUsagesWrapped (width ))
@@ -604,6 +610,8 @@ func main() {
604610 UseSecrets : * useSecrets ,
605611 ManageConfigMaps : * manageConfigMaps ,
606612 SchemaLocal : * schemaLocal ,
613+ AS3Validation : * as3Validation ,
614+ SSLInsecure : * sslInsecure ,
607615 }
608616
609617 // If running with Flannel, create an event channel that the appManager
@@ -641,6 +649,10 @@ func main() {
641649 BigIPPartitions : * bigIPPartitions ,
642650 }
643651
652+ appmanager .BigIPUsername = * bigIPUsername
653+ appmanager .BigIPPassword = * bigIPPassword
654+ appmanager .BigIPURL = * bigIPURL
655+
644656 subPidCh , err := startPythonDriver (configWriter , gs , bs , * pythonBaseDir )
645657 if nil != err {
646658 log .Fatalf ("Could not initialize subprocess configuration: %v" , err )
0 commit comments