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

Implement a validating webhook server. #58

Open
jmalloc opened this issue Mar 20, 2023 · 0 comments
Open

Implement a validating webhook server. #58

jmalloc opened this issue Mar 20, 2023 · 0 comments

Comments

@jmalloc
Copy link
Member

jmalloc commented Mar 20, 2023

There doesn't appear to be a way to represent a oneOf: [type: boolean, type: string] in the CRD and still remain a "structural" spec according to K8s subset of support for OpenAPI v3.

A validating webhook server would let us keep the current attribute format (current as of v0.3.0) and still prevent the user from defining invalid attribute values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant