File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -994,6 +994,18 @@ func applicationSetPullRequestGeneratorSchemaV0() *schema.Schema {
994994 MaxItems : 1 ,
995995 Elem : secretRefResource (),
996996 },
997+ "insecure" : {
998+ Type : schema .TypeBool ,
999+ Description : "A flag for checking the validity of the SCM's certificates." ,
1000+ Required : true ,
1001+ Default : false ,
1002+ },
1003+ "ca_ref" : {
1004+ Type : schema .TypeList ,
1005+ Description : "Authentication token reference." ,
1006+ Optional : true ,
1007+ Elem : configMapRefResource (),
1008+ },
9971009 },
9981010 },
9991011 },
@@ -1078,3 +1090,20 @@ func secretRefResource() *schema.Resource {
10781090 },
10791091 }
10801092}
1093+
1094+ func configMapRefResource () * schema.Resource {
1095+ return & schema.Resource {
1096+ Schema : map [string ]* schema.Schema {
1097+ "key" : {
1098+ Type : schema .TypeString ,
1099+ Description : "Key containing information in trusted CA certs." ,
1100+ Required : true ,
1101+ },
1102+ "config_map_name" : {
1103+ Type : schema .TypeString ,
1104+ Description : "Name of the ConfigMap." ,
1105+ Required : true ,
1106+ },
1107+ },
1108+ }
1109+ }
You can’t perform that action at this time.
0 commit comments