Skip to content

Add Kubernetes version as dynamic approach or build a release #1

@dmvolod

Description

@dmvolod

Thanks @wujunwei for the excellent solution for generating open API from the CRD yaml

What do you think about adopt it a bit with two steps:

  • generates code stubs based on the templates and Kubernetes version as parameter and customized go.mod
  • run this code in dynamic way to generate output openAPI file

The current approach with static predefined Kubernetes version in go.mod should work, but in some cases could have confusions
As alternative approach, binary version with binds to the Kubernetes API versions can be also an option.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions