|
41 | 41 | spec:
|
42 | 42 | description: CronJobSpec defines the desired state of CronJob
|
43 | 43 | 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 |
44 | 50 | array:
|
45 | 51 | description: Checks that fixed-length arrays work
|
46 | 52 | items:
|
@@ -184,13 +190,13 @@ spec:
|
184 | 190 | x-kubernetes-preserve-unknown-fields: true
|
185 | 191 | enumSlice:
|
186 | 192 | description: This tests slice item validation with enum
|
187 |
| - type: array |
188 | 193 | items:
|
189 |
| - type: integer |
190 | 194 | enum:
|
191 | 195 | - 0
|
192 | 196 | - 1
|
193 | 197 | - 3
|
| 198 | + type: integer |
| 199 | + type: array |
194 | 200 | explicitlyOptionalKubebuilder:
|
195 | 201 | description: This tests explicitly optional kubebuilder fields
|
196 | 202 | type: string
|
@@ -8984,22 +8990,18 @@ spec:
|
8984 | 8990 | time for any reason. Missed jobs executions will be counted as failed ones.
|
8985 | 8991 | format: int64
|
8986 | 8992 | 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 |
8993 | 8993 | stringAlias:
|
8994 | 8994 | description: This tests that string alias is handled correctly.
|
8995 | 8995 | type: string
|
8996 | 8996 | 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. |
8998 | 8999 | maxLength: 255
|
8999 | 9000 | minLength: 1
|
9000 | 9001 | type: string
|
9001 | 9002 | 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. |
9003 | 9005 | maxLength: 255
|
9004 | 9006 | minLength: 1
|
9005 | 9007 | type: string
|
|
0 commit comments