Skip to content

Commit d8927c8

Browse files
authored
feat: use custom crd generator (#1625)
* feat: use custom crd generator Signed-off-by: Charles-Edouard Brétéché <[email protected]> * one of Signed-off-by: Charles-Edouard Brétéché <[email protected]> * fix linter Signed-off-by: Charles-Edouard Brétéché <[email protected]> * test Signed-off-by: Charles-Edouard Brétéché <[email protected]> * schemas Signed-off-by: Charles-Edouard Brétéché <[email protected]> * schemas Signed-off-by: Charles-Edouard Brétéché <[email protected]> --------- Signed-off-by: Charles-Edouard Brétéché <[email protected]>
1 parent 4b02cd7 commit d8927c8

File tree

59 files changed

+16325
-1836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+16325
-1836
lines changed

.crds/chainsaw.kyverno.io_configurations.yaml

+39-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: (devel)
77
name: configurations.chainsaw.kyverno.io
88
spec:
99
group: chainsaw.kyverno.io
@@ -47,6 +47,25 @@ spec:
4747
items:
4848
description: CatchFinally defines actions to be executed in catch,
4949
finally and cleanup blocks.
50+
oneOf:
51+
- required:
52+
- podLogs
53+
- required:
54+
- events
55+
- required:
56+
- describe
57+
- required:
58+
- wait
59+
- required:
60+
- get
61+
- required:
62+
- delete
63+
- required:
64+
- command
65+
- required:
66+
- script
67+
- required:
68+
- sleep
5069
properties:
5170
command:
5271
description: Command defines a command to run.
@@ -944,6 +963,25 @@ spec:
944963
items:
945964
description: CatchFinally defines actions to be executed in
946965
catch, finally and cleanup blocks.
966+
oneOf:
967+
- required:
968+
- podLogs
969+
- required:
970+
- events
971+
- required:
972+
- describe
973+
- required:
974+
- wait
975+
- required:
976+
- get
977+
- required:
978+
- delete
979+
- required:
980+
- command
981+
- required:
982+
- script
983+
- required:
984+
- sleep
947985
properties:
948986
command:
949987
description: Command defines a command to run.

.crds/chainsaw.kyverno.io_tests.yaml

+96-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.15.0
6+
controller-gen.kubebuilder.io/version: (devel)
77
name: tests.chainsaw.kyverno.io
88
spec:
99
group: chainsaw.kyverno.io
@@ -64,6 +64,25 @@ spec:
6464
items:
6565
description: CatchFinally defines actions to be executed in catch,
6666
finally and cleanup blocks.
67+
oneOf:
68+
- required:
69+
- podLogs
70+
- required:
71+
- events
72+
- required:
73+
- describe
74+
- required:
75+
- wait
76+
- required:
77+
- get
78+
- required:
79+
- delete
80+
- required:
81+
- command
82+
- required:
83+
- script
84+
- required:
85+
- sleep
6786
properties:
6887
command:
6988
description: Command defines a command to run.
@@ -842,6 +861,25 @@ spec:
842861
items:
843862
description: CatchFinally defines actions to be executed in
844863
catch, finally and cleanup blocks.
864+
oneOf:
865+
- required:
866+
- podLogs
867+
- required:
868+
- events
869+
- required:
870+
- describe
871+
- required:
872+
- wait
873+
- required:
874+
- get
875+
- required:
876+
- delete
877+
- required:
878+
- command
879+
- required:
880+
- script
881+
- required:
882+
- sleep
845883
properties:
846884
command:
847885
description: Command defines a command to run.
@@ -1528,6 +1566,25 @@ spec:
15281566
items:
15291567
description: CatchFinally defines actions to be executed in
15301568
catch, finally and cleanup blocks.
1569+
oneOf:
1570+
- required:
1571+
- podLogs
1572+
- required:
1573+
- events
1574+
- required:
1575+
- describe
1576+
- required:
1577+
- wait
1578+
- required:
1579+
- get
1580+
- required:
1581+
- delete
1582+
- required:
1583+
- command
1584+
- required:
1585+
- script
1586+
- required:
1587+
- sleep
15311588
properties:
15321589
command:
15331590
description: Command defines a command to run.
@@ -2249,6 +2306,25 @@ spec:
22492306
items:
22502307
description: CatchFinally defines actions to be executed in
22512308
catch, finally and cleanup blocks.
2309+
oneOf:
2310+
- required:
2311+
- podLogs
2312+
- required:
2313+
- events
2314+
- required:
2315+
- describe
2316+
- required:
2317+
- wait
2318+
- required:
2319+
- get
2320+
- required:
2321+
- delete
2322+
- required:
2323+
- command
2324+
- required:
2325+
- script
2326+
- required:
2327+
- sleep
22522328
properties:
22532329
command:
22542330
description: Command defines a command to run.
@@ -4463,6 +4539,25 @@ spec:
44634539
items:
44644540
description: CatchFinally defines actions to be executed in
44654541
catch, finally and cleanup blocks.
4542+
oneOf:
4543+
- required:
4544+
- podLogs
4545+
- required:
4546+
- events
4547+
- required:
4548+
- describe
4549+
- required:
4550+
- wait
4551+
- required:
4552+
- get
4553+
- required:
4554+
- delete
4555+
- required:
4556+
- command
4557+
- required:
4558+
- script
4559+
- required:
4560+
- sleep
44664561
properties:
44674562
command:
44684563
description: Command defines a command to run.

0 commit comments

Comments
 (0)