Skip to content

Conversation

@natasha41575
Copy link
Contributor

@natasha41575 natasha41575 commented Feb 18, 2021

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

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 18, 2021
@k8s-ci-robot k8s-ci-robot requested a review from mortent February 18, 2021 02:40
@natasha41575 natasha41575 removed the request for review from mortent February 18, 2021 02:41
@natasha41575 natasha41575 force-pushed the UseCustomOpenApiSchema branch 3 times, most recently from 9f51292 to 2e2c91c Compare February 18, 2021 03:31
@natasha41575 natasha41575 force-pushed the UseCustomOpenApiSchema branch from 2e2c91c to 7dd0ade Compare February 19, 2021 22:19
Copy link
Contributor

@monopole monopole left a 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!

@natasha41575 natasha41575 force-pushed the UseCustomOpenApiSchema branch 2 times, most recently from 52b2e6f to 1338ce3 Compare February 22, 2021 22:39
@natasha41575 natasha41575 force-pushed the UseCustomOpenApiSchema branch from 1338ce3 to 5a0e193 Compare February 24, 2021 01:21

func writeTestBase(th kusttest_test.Harness) {
th.WriteK("/app/base", `
th.WriteK("/base", `
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

@monopole monopole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 24, 2021
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 24, 2021
@k8s-ci-robot k8s-ci-robot merged commit 30e53a9 into kubernetes-sigs:master Feb 24, 2021
@natasha41575 natasha41575 deleted the UseCustomOpenApiSchema branch February 24, 2021 23:27
@Shell32-Natsu Shell32-Natsu mentioned this pull request Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants