Skip to content

Commit

Permalink
chore: regenerate testdata using go generate
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Jan 6, 2025
1 parent c71f903 commit 7a92e7b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions pkg/crd/testdata/testdata.kubebuilder.io_cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ spec:
spec:
description: CronJobSpec defines the desired state of CronJob
properties:
aliasFromPackage:
description: |-
This tests that alias imported from a package is handled correctly. The
corev1.IPFamilyPolicyType is just reused since it's available from
imported package. We can create our own in a separate package if needed.
type: string
array:
description: Checks that fixed-length arrays work
items:
Expand Down Expand Up @@ -184,13 +190,13 @@ spec:
x-kubernetes-preserve-unknown-fields: true
enumSlice:
description: This tests slice item validation with enum
type: array
items:
type: integer
enum:
- 0
- 1
- 3
type: integer
type: array
explicitlyOptionalKubebuilder:
description: This tests explicitly optional kubebuilder fields
type: string
Expand Down Expand Up @@ -8984,22 +8990,18 @@ spec:
time for any reason. Missed jobs executions will be counted as failed ones.
format: int64
type: integer
aliasFromPackage:
description: |-
This tests that alias imported from a package is handled correctly. The
corev1.IPFamilyPolicyType is just reused since it's available from
imported package. We can create our own in a separate package if needed.
type: string
stringAlias:
description: This tests that string alias is handled correctly.
type: string
stringAliasAddedValidation:
description: This tests that validation on a string alias type is handled correctly.
description: This tests that validation on a string alias type is
handled correctly.
maxLength: 255
minLength: 1
type: string
stringAliasAlreadyValidated:
description: This tests that validation on a the string alias type itself is handled correctly.
description: This tests that validation on a the string alias type
itself is handled correctly.
maxLength: 255
minLength: 1
type: string
Expand Down

0 comments on commit 7a92e7b

Please sign in to comment.