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
support yaml formatted openapi schema #4017
support yaml formatted openapi schema #4017
Conversation
/test kustomize-presubmit-master |
e9ad5a7
to
6c56a99
Compare
@KnVerey If you get a chance, this could use another review, thanks!. |
kyaml/openapi/openapi.go
Outdated
@@ -15,7 +15,8 @@ import ( | |||
"sigs.k8s.io/kustomize/kyaml/errors" | |||
"sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi" | |||
"sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi" | |||
"sigs.k8s.io/kustomize/kyaml/yaml" | |||
kyaml "sigs.k8s.io/kustomize/kyaml/yaml" | |||
"sigs.k8s.io/yaml" |
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.
Is this what we've done elsewhere when multiple yaml libs have to be used? If not, I'd suggest leaving kyaml as yaml
since that's what folks changing this file should use by default, and make sig.k8s.io/yaml
the one with an alias
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.
done
6c56a99
to
cc8aef7
Compare
@natasha41575: 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. |
/cc @KnVerey |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KnVerey, 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 |
addresses #3961
ALLOW_MODULE_SPAN