-
Notifications
You must be signed in to change notification settings - Fork 335
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
fix(*): replace jsonschema validation with kube-openapi #5166
fix(*): replace jsonschema validation with kube-openapi #5166
Conversation
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should you add a test that exhibits the change in behaviour regarding nullable
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 perf thing and agree with @lahabana that we should:
add a test that exhibits the change in behaviour regarding nullable
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # go.mod
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Replace the library we're using for schema validation. It appears OpenAPI and JSONSchema are not exactly similar (different syntax for
nullable
). We should use OpenAPI validation. Luckily Kubernetes extracted the validation into a separate librarykube-openapi
so we can also use it.Signed-off-by: Ilya Lobkov ilya.lobkov@konghq.com
Checklist prior to review
syscall.Mkfifo
have equivalent implementation on the other OS --UPGRADE.md
? -- No> Changelog:
entry here or add aci/
label to run fewer/more tests?