Skip to content

Commit 29f3d48

Browse files
committed
Update generated
1 parent 6a77301 commit 29f3d48

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

pkg/crd/markers/zz_generated.markerhelp.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,42 @@ spec:
5959
- Forbid
6060
- Replace
6161
type: string
62+
defaultedObject:
63+
default:
64+
- nested:
65+
bar: true
66+
foo: baz
67+
- nested:
68+
bar: false
69+
description: This tests that object defaulting can be performed.
70+
items:
71+
properties:
72+
nested:
73+
properties:
74+
bar:
75+
type: boolean
76+
foo:
77+
type: string
78+
required:
79+
- bar
80+
- foo
81+
type: object
82+
required:
83+
- nested
84+
type: object
85+
type: array
86+
defaultedSlice:
87+
default:
88+
- a
89+
- b
90+
description: This tests that slice defaulting can be performed.
91+
items:
92+
type: string
93+
type: array
94+
defaultedString:
95+
default: forty-two
96+
description: This tests that primitive defaulting can be performed.
97+
type: string
6298
failedJobsHistoryLimit:
6399
description: The number of failed finished jobs to retain. This is a
64100
pointer to distinguish between explicit zero and not specified.
@@ -4790,6 +4826,9 @@ spec:
47904826
required:
47914827
- binaryName
47924828
- canBeNull
4829+
- defaultedObject
4830+
- defaultedSlice
4831+
- defaultedString
47934832
- jobTemplate
47944833
- schedule
47954834
- twoOfAKindPart0

0 commit comments

Comments
 (0)