@@ -15,6 +15,23 @@ func projectSpecSchemaV0() *schema.Schema {
15
15
Required : true ,
16
16
Elem : & schema.Resource {
17
17
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
+ },
18
35
"cluster_resource_whitelist" : {
19
36
Type : schema .TypeSet ,
20
37
Optional : true ,
@@ -73,6 +90,22 @@ func projectSpecSchemaV0() *schema.Schema {
73
90
},
74
91
},
75
92
},
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
+ },
76
109
"orphaned_resources" : {
77
110
Type : schema .TypeMap ,
78
111
Optional : true ,
@@ -166,6 +199,23 @@ func projectSpecSchemaV1() *schema.Schema {
166
199
Required : true ,
167
200
Elem : & schema.Resource {
168
201
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
+ },
169
219
"cluster_resource_whitelist" : {
170
220
Type : schema .TypeSet ,
171
221
Optional : true ,
@@ -224,6 +274,22 @@ func projectSpecSchemaV1() *schema.Schema {
224
274
},
225
275
},
226
276
},
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
+ },
227
293
"orphaned_resources" : {
228
294
Type : schema .TypeSet ,
229
295
Optional : true ,
@@ -351,6 +417,23 @@ func projectSpecSchemaV2() *schema.Schema {
351
417
Required : true ,
352
418
Elem : & schema.Resource {
353
419
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
+ },
354
437
"cluster_resource_whitelist" : {
355
438
Type : schema .TypeSet ,
356
439
Optional : true ,
@@ -409,6 +492,22 @@ func projectSpecSchemaV2() *schema.Schema {
409
492
},
410
493
},
411
494
},
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
+ },
412
511
"orphaned_resources" : {
413
512
Type : schema .TypeList ,
414
513
Optional : true ,
0 commit comments