Skip to content

Commit 7a92e7b

Browse files
committed
chore: regenerate testdata using go generate
Signed-off-by: Mahe Tardy <[email protected]>
1 parent c71f903 commit 7a92e7b

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

pkg/crd/testdata/testdata.kubebuilder.io_cronjobs.yaml

+12-10
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ spec:
4141
spec:
4242
description: CronJobSpec defines the desired state of CronJob
4343
properties:
44+
aliasFromPackage:
45+
description: |-
46+
This tests that alias imported from a package is handled correctly. The
47+
corev1.IPFamilyPolicyType is just reused since it's available from
48+
imported package. We can create our own in a separate package if needed.
49+
type: string
4450
array:
4551
description: Checks that fixed-length arrays work
4652
items:
@@ -184,13 +190,13 @@ spec:
184190
x-kubernetes-preserve-unknown-fields: true
185191
enumSlice:
186192
description: This tests slice item validation with enum
187-
type: array
188193
items:
189-
type: integer
190194
enum:
191195
- 0
192196
- 1
193197
- 3
198+
type: integer
199+
type: array
194200
explicitlyOptionalKubebuilder:
195201
description: This tests explicitly optional kubebuilder fields
196202
type: string
@@ -8984,22 +8990,18 @@ spec:
89848990
time for any reason. Missed jobs executions will be counted as failed ones.
89858991
format: int64
89868992
type: integer
8987-
aliasFromPackage:
8988-
description: |-
8989-
This tests that alias imported from a package is handled correctly. The
8990-
corev1.IPFamilyPolicyType is just reused since it's available from
8991-
imported package. We can create our own in a separate package if needed.
8992-
type: string
89938993
stringAlias:
89948994
description: This tests that string alias is handled correctly.
89958995
type: string
89968996
stringAliasAddedValidation:
8997-
description: This tests that validation on a string alias type is handled correctly.
8997+
description: This tests that validation on a string alias type is
8998+
handled correctly.
89988999
maxLength: 255
89999000
minLength: 1
90009001
type: string
90019002
stringAliasAlreadyValidated:
9002-
description: This tests that validation on a the string alias type itself is handled correctly.
9003+
description: This tests that validation on a the string alias type
9004+
itself is handled correctly.
90039005
maxLength: 255
90049006
minLength: 1
90059007
type: string

0 commit comments

Comments
 (0)