Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmvolod opened this issue Mar 28, 2023 · 0 comments
Open

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

dmvolod opened this issue Mar 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dmvolod
Copy link

dmvolod commented Mar 28, 2023

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.

@wujunwei wujunwei self-assigned this Mar 29, 2023
@wujunwei wujunwei added the enhancement New feature or request label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants