Skip to content

Commit

Permalink
Adds Schema field to CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Jul 6, 2023
1 parent e812578 commit 0be2e66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/resources/apiextensions/v1beta1/crd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func Generate(d *schema.ResourceData) (apiextensionsv1.CustomResourceDefinition,
Name: version,
Served: true,
Storage: true,
// @todo, Determine better approach for schema.
Schema: &apiextensionsv1.CustomResourceValidation{},
Subresources: &apiextensionsv1.CustomResourceSubresources{
Status: &apiextensionsv1.CustomResourceSubresourceStatus{},
},
Expand Down

0 comments on commit 0be2e66

Please sign in to comment.