Skip to content

Commit

Permalink
fixate version props (#37)
Browse files Browse the repository at this point in the history
* fixate version props

Signed-off-by: jehad.nasser2 <[email protected]>

* remove spaces

Signed-off-by: jehad.nasser2 <[email protected]>

* remove space

Signed-off-by: jehad.nasser2 <[email protected]>

---------

Signed-off-by: jehad.nasser2 <[email protected]>
  • Loading branch information
jehadnasser authored Jul 23, 2024
1 parent e9f1f3b commit 93c98e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ func (g *XGenerator) GenerateXRD() (*c.CompositeResourceDefinition, error) {
Versions: []c.CompositeResourceDefinitionVersion{
{
Name: g.Version,
Referenceable: version.Storage,
Served: version.Served,
Referenceable: true,
Served: true,
Schema: &c.CompositeResourceValidation{
OpenAPIV3Schema: runtime.RawExtension{
Object: &unstructured.Unstructured{
Expand All @@ -136,7 +136,6 @@ func (g *XGenerator) GenerateXRD() (*c.CompositeResourceDefinition, error) {
}

//

// g.generateSchema()
//

Expand Down

0 comments on commit 93c98e7

Please sign in to comment.