Skip to content

Commit

Permalink
DNM:test make crd-schema-check
Browse files Browse the repository at this point in the history
  • Loading branch information
gibizer committed Nov 22, 2024
1 parent cda4a46 commit 5975d9f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ repos:
entry: make
args: ['crd-schema-check']
pass_filenames: false
verbose: true

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down
4 changes: 4 additions & 0 deletions apis/bases/core.openstack.org_openstackcontrolplanes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10879,6 +10879,8 @@ spec:
format: int32
minimum: 0
type: integer
foo:
type: integer
nodeSelector:
additionalProperties:
type: string
Expand Down Expand Up @@ -14696,6 +14698,8 @@ spec:
type: string
type: object
type: array
required:
- foo
type: object
type: object
type: object
Expand Down
3 changes: 3 additions & 0 deletions apis/core/v1beta1/openstackcontrolplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ type RabbitmqTemplate struct {
// +operator-sdk:csv:customresourcedefinitions:type=spec
// NodeSelector to target subset of worker nodes running this service
NodeSelector *map[string]string `json:"nodeSelector,omitempty"`

// +kubebuilder:validation:Required
Foo int `json:"foo"`
}

// OvnSection defines the desired state of OVN services
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10879,6 +10879,8 @@ spec:
format: int32
minimum: 0
type: integer
foo:
type: integer
nodeSelector:
additionalProperties:
type: string
Expand Down Expand Up @@ -14696,6 +14698,8 @@ spec:
type: string
type: object
type: array
required:
- foo
type: object
type: object
type: object
Expand Down

0 comments on commit 5975d9f

Please sign in to comment.