Skip to content

Commit

Permalink
chore: Generate CC manifest after fixing list type annotation (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed May 29, 2024
1 parent e443313 commit 8a7539b
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 255 deletions.
4 changes: 2 additions & 2 deletions api/v1beta1/clusterclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,12 @@ type JSONSchemaProps struct {
// XValidations describes a list of validation rules written in the CEL expression language.
// See: https://github.com/kubernetes/apiextensions-apiserver/blob/v0.28.5/pkg/apis/apiextensions/v1/types_jsonschema.go#L191.
// +optional
// +listType=map
// +listMapKey=rule
XValidations ValidationRules `json:"x-kubernetes-validations,omitempty"`
}

// ValidationRules describes a list of validation rules written in the CEL expression language.
// +listType=map
// +listMapKey=rule
type ValidationRules []ValidationRule

// ValidationRule describes a validation rule written in the CEL expression language.
Expand Down
Loading

0 comments on commit 8a7539b

Please sign in to comment.