We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9be8dd commit 2024a98Copy full SHA for 2024a98
test.sh
@@ -518,6 +518,7 @@ function test_crd_validation {
518
// +kubebuilder:validation:Maximum=100\
519
// +kubebuilder:validation:ExclusiveMinimum=true\
520
Power float32 \`json:"power"\`\
521
+ Bricks int32 \`json:"bricks"\`\
522
// +kubebuilder:validation:MaxLength=15\
523
// +kubebuilder:validation:MinLength=1\
524
Name string \`json:"name"\`\
test/data/resource/expected/crd-expected.yaml
@@ -29,6 +29,9 @@ spec:
29
- Wolf
30
- Dragon
31
type: string
32
+ bricks:
33
+ format: int32
34
+ type: integer
35
knights:
36
items:
37
0 commit comments