-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 support for remote OpenAPI schema #4567
Conversation
|
Welcome @mvgmb! |
Hi @mvgmb. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
The lint failure will likely be fixed by #4564, which I think will go in soon. |
Hi, Natasha! I just noticed that when referencing a kustomization with the Fixed by editing the |
Closed and reopening to retrigger the CI |
Could you add a few tests as a sanity check to https://github.com/kubernetes-sigs/kustomize/blob/master/api/krusty/openapicustomschema_test.go?
If there are any other cases that you found gave you trouble and you had to debug, please add them as well. |
@mvgmb: This PR has multiple commits, and the default merge method is: merge. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hey @natasha41575, I just added the tests you requested. Would you be able to trigger the CI again? |
@natasha41575, could you re-run the CI? |
Apologies, this must have gotten lost in my inbox. Rerunning now. |
Could you please update the docs as well, with some details about what types of URLs are supported? The docs live here https://github.com/kubernetes-sigs/cli-experimental/tree/master/site/content/en/references/kustomize/kustomization/openapi /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mvgmb, natasha41575 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Change how the OpenAPI schema is loaded by letting the Loader handle the given path.
In addition to the
path
attribute being able to reference a remote schema, it will continue to support a local schema.Closes #4566