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

cannot use complex enums in kube-derive schemas via schemars #648

Closed
clux opened this issue Oct 9, 2021 · 0 comments · Fixed by #779
Closed

cannot use complex enums in kube-derive schemas via schemars #648

clux opened this issue Oct 9, 2021 · 0 comments · Fixed by #779
Assignees
Labels
derive kube-derive proc_macro related help wanted Not immediately prioritised, please help!

Comments

@clux
Copy link
Member

clux commented Oct 9, 2021

Tracking issue for a known problem.

When using complex enums and deriving JsonSchema you get validation erros posting the CRD to kubernetes:

Required value: must not be empty for specified array items]", reason: "Invalid", code: 422

Links

History

@clux clux added derive kube-derive proc_macro related blocked awaiting upstream work labels Oct 9, 2021
@clux clux added the help wanted Not immediately prioritised, please help! label Oct 10, 2021
@clux clux added this to Kube Roadmap Nov 3, 2021
@clux clux moved this to Defining in Kube Roadmap Nov 3, 2021
@nightkr nightkr self-assigned this Jan 14, 2022
@nightkr nightkr removed the blocked awaiting upstream work label Jan 14, 2022
@nightkr nightkr moved this from Defining to In Progress in Kube Roadmap Jan 14, 2022
@nightkr nightkr linked a pull request Jan 14, 2022 that will close this issue
Repository owner moved this from In Progress to Done in Kube Roadmap Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
derive kube-derive proc_macro related help wanted Not immediately prioritised, please help!
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants