@@ -15,6 +15,23 @@ func projectSpecSchemaV0() *schema.Schema {
1515 Required : true ,
1616 Elem : & schema.Resource {
1717 Schema : map [string ]* schema.Schema {
18+ "cluster_resource_blacklist" : {
19+ Type : schema .TypeSet ,
20+ Optional : true ,
21+ Elem : & schema.Resource {
22+ Schema : map [string ]* schema.Schema {
23+ "group" : {
24+ Type : schema .TypeString ,
25+ ValidateFunc : validateGroupName ,
26+ Optional : true ,
27+ },
28+ "kind" : {
29+ Type : schema .TypeString ,
30+ Optional : true ,
31+ },
32+ },
33+ },
34+ },
1835 "cluster_resource_whitelist" : {
1936 Type : schema .TypeSet ,
2037 Optional : true ,
@@ -73,6 +90,22 @@ func projectSpecSchemaV0() *schema.Schema {
7390 },
7491 },
7592 },
93+ "namespace_resource_whitelist" : {
94+ Type : schema .TypeSet ,
95+ Optional : true ,
96+ Elem : & schema.Resource {
97+ Schema : map [string ]* schema.Schema {
98+ "group" : {
99+ Type : schema .TypeString ,
100+ Optional : true ,
101+ },
102+ "kind" : {
103+ Type : schema .TypeString ,
104+ Optional : true ,
105+ },
106+ },
107+ },
108+ },
76109 "orphaned_resources" : {
77110 Type : schema .TypeMap ,
78111 Optional : true ,
@@ -166,6 +199,23 @@ func projectSpecSchemaV1() *schema.Schema {
166199 Required : true ,
167200 Elem : & schema.Resource {
168201 Schema : map [string ]* schema.Schema {
202+ "cluster_resource_blacklist" : {
203+ Type : schema .TypeSet ,
204+ Optional : true ,
205+ Elem : & schema.Resource {
206+ Schema : map [string ]* schema.Schema {
207+ "group" : {
208+ Type : schema .TypeString ,
209+ ValidateFunc : validateGroupName ,
210+ Optional : true ,
211+ },
212+ "kind" : {
213+ Type : schema .TypeString ,
214+ Optional : true ,
215+ },
216+ },
217+ },
218+ },
169219 "cluster_resource_whitelist" : {
170220 Type : schema .TypeSet ,
171221 Optional : true ,
@@ -224,6 +274,22 @@ func projectSpecSchemaV1() *schema.Schema {
224274 },
225275 },
226276 },
277+ "namespace_resource_whitelist" : {
278+ Type : schema .TypeSet ,
279+ Optional : true ,
280+ Elem : & schema.Resource {
281+ Schema : map [string ]* schema.Schema {
282+ "group" : {
283+ Type : schema .TypeString ,
284+ Optional : true ,
285+ },
286+ "kind" : {
287+ Type : schema .TypeString ,
288+ Optional : true ,
289+ },
290+ },
291+ },
292+ },
227293 "orphaned_resources" : {
228294 Type : schema .TypeSet ,
229295 Optional : true ,
@@ -351,6 +417,23 @@ func projectSpecSchemaV2() *schema.Schema {
351417 Required : true ,
352418 Elem : & schema.Resource {
353419 Schema : map [string ]* schema.Schema {
420+ "cluster_resource_blacklist" : {
421+ Type : schema .TypeSet ,
422+ Optional : true ,
423+ Elem : & schema.Resource {
424+ Schema : map [string ]* schema.Schema {
425+ "group" : {
426+ Type : schema .TypeString ,
427+ ValidateFunc : validateGroupName ,
428+ Optional : true ,
429+ },
430+ "kind" : {
431+ Type : schema .TypeString ,
432+ Optional : true ,
433+ },
434+ },
435+ },
436+ },
354437 "cluster_resource_whitelist" : {
355438 Type : schema .TypeSet ,
356439 Optional : true ,
@@ -409,6 +492,22 @@ func projectSpecSchemaV2() *schema.Schema {
409492 },
410493 },
411494 },
495+ "namespace_resource_whitelist" : {
496+ Type : schema .TypeSet ,
497+ Optional : true ,
498+ Elem : & schema.Resource {
499+ Schema : map [string ]* schema.Schema {
500+ "group" : {
501+ Type : schema .TypeString ,
502+ Optional : true ,
503+ },
504+ "kind" : {
505+ Type : schema .TypeString ,
506+ Optional : true ,
507+ },
508+ },
509+ },
510+ },
412511 "orphaned_resources" : {
413512 Type : schema .TypeList ,
414513 Optional : true ,
0 commit comments