Skip to content

Commit ce9cdc7

Browse files
committed
DNM:test make crd-schema-check
1 parent 8deb2c2 commit ce9cdc7

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ repos:
3131
entry: make
3232
args: ['crd-schema-check']
3333
pass_filenames: false
34+
verbose: true
3435

3536
- repo: https://github.com/pre-commit/pre-commit-hooks
3637
rev: v4.4.0

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10879,6 +10879,8 @@ spec:
1087910879
format: int32
1088010880
minimum: 0
1088110881
type: integer
10882+
foo:
10883+
type: integer
1088210884
nodeSelector:
1088310885
additionalProperties:
1088410886
type: string
@@ -14696,6 +14698,8 @@ spec:
1469614698
type: string
1469714699
type: object
1469814700
type: array
14701+
required:
14702+
- foo
1469914703
type: object
1470014704
type: object
1470114705
type: object

apis/core/v1beta1/openstackcontrolplane_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,9 @@ type RabbitmqTemplate struct {
511511
// +operator-sdk:csv:customresourcedefinitions:type=spec
512512
// NodeSelector to target subset of worker nodes running this service
513513
NodeSelector *map[string]string `json:"nodeSelector,omitempty"`
514+
515+
// +kubebuilder:validation:Required
516+
Foo int `json:"foo"`
514517
}
515518

516519
// OvnSection defines the desired state of OVN services

config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10879,6 +10879,8 @@ spec:
1087910879
format: int32
1088010880
minimum: 0
1088110881
type: integer
10882+
foo:
10883+
type: integer
1088210884
nodeSelector:
1088310885
additionalProperties:
1088410886
type: string
@@ -14696,6 +14698,8 @@ spec:
1469614698
type: string
1469714699
type: object
1469814700
type: array
14701+
required:
14702+
- foo
1469914703
type: object
1470014704
type: object
1470114705
type: object

0 commit comments

Comments
 (0)