-
Notifications
You must be signed in to change notification settings - Fork 2.3k
add openapi/path field to use custom openapi schema document #3617
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 openapi/path field to use custom openapi schema document #3617
Conversation
9f51292 to
2e2c91c
Compare
2e2c91c to
7dd0ade
Compare
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.
Thanks for the great set of tests!
52b2e6f to
1338ce3
Compare
1338ce3 to
5a0e193
Compare
|
|
||
| func writeTestBase(th kusttest_test.Harness) { | ||
| th.WriteK("/app/base", ` | ||
| th.WriteK("/base", ` |
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 there some reason here that these all have to be absolute paths?
It's preferable to omit the /, so readers don't copy this and think that kustomization directories aren't relocatable.
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.
ah sorry, I meant to edit this earlier and got distracted by something else. Thanks for merging; I can make a separate PR for this
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: monopole, 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 |
solution for #2825
implements part of KEP: kubernetes/enhancements#2206
allow users to specify their own custom openapi schema files to use with kustomize, to support strategic merge patching with CRDs
ALLOW_MODULE_SPAN