Skip to content
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

Follow-ups for CRD versioning #64136

Closed
9 tasks done
sttts opened this issue May 22, 2018 · 8 comments
Closed
9 tasks done

Follow-ups for CRD versioning #64136

sttts opened this issue May 22, 2018 · 8 comments
Assignees
Labels
area/custom-resources lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.

Comments

@sttts
Copy link
Contributor

sttts commented May 22, 2018

Everything that must be done after #63830:

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 22, 2018
@sttts sttts added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. area/custom-resources labels May 22, 2018
@k8s-ci-robot k8s-ci-robot removed the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 22, 2018
k8s-github-robot pushed a commit that referenced this issue May 24, 2018
Automatic merge from submit-queue (batch tested with PRs 64127, 63895, 64066, 64215, 64202). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix documentation of GA is in APIService's PriorityVersion and CRD's Versions

Explain what GA is in APIService's PriorityVersion and CRD's Versions.

ref #64136 

```release-note
NONE
```
k8s-github-robot pushed a commit that referenced this issue May 24, 2018
…ging

Automatic merge from submit-queue (batch tested with PRs 64127, 63895, 64066, 64215, 64202). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: reduce verbose logs in removeDeadStorage

We don't need one log line per version.

Fixes https://github.com/kubernetes/kubernetes/pull/63830/files#r189808872, part of #64136.
@mbohlool
Copy link
Contributor

mbohlool commented May 24, 2018

I don't think split customresource_handler.go. This is far too big. Maybe we should create a CR scheme. falls into a follow up on #63830. It deserve its own issue. I think we must track things we missed/postponed to follow up in #63830 here.

k8s-github-robot pushed a commit that referenced this issue May 25, 2018
Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: extract orthortogonal behaviour from nopConve

This is preparation for adding more CR converters. Not every new converter should implement the generic conversion behaviour of CRs.

Fixes parts of #64136.
k8s-github-robot pushed a commit that referenced this issue May 25, 2018
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: unify mono- and multi-versioned test helpers

The mono-versioned helpers are a special case of the multi-versioned ones.

Fixes part of #64136.
k8s-publishing-bot added a commit to kubernetes/apiextensions-apiserver that referenced this issue Jun 1, 2018
Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: extract orthortogonal behaviour from nopConve

This is preparation for adding more CR converters. Not every new converter should implement the generic conversion behaviour of CRs.

Fixes parts of kubernetes/kubernetes#64136.

Kubernetes-commit: 88f8c7d1ee5bf2ea0a24e4e58ddf7dd940934219
k8s-publishing-bot added a commit to kubernetes/apiextensions-apiserver that referenced this issue Jun 1, 2018
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: unify mono- and multi-versioned test helpers

The mono-versioned helpers are a special case of the multi-versioned ones.

Fixes part of kubernetes/kubernetes#64136.

Kubernetes-commit: deb632e7278d5471d7ec5dfa48778dee3ba620e5
@mbohlool
Copy link
Contributor

mbohlool commented Jun 4, 2018

@liggitt The link to the comment on flaky watch tests are not working. If you have the related issue/pr link handy, can you please put it here?

@sttts
Copy link
Contributor Author

sttts commented Jun 4, 2018

@mbohlool agree about "split customresource_handler.go". I want to approach that after 1.11 is out. But this has not too much to do with versioning.

sttts pushed a commit to sttts/apiextensions-apiserver that referenced this issue Jun 8, 2018
Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: extract orthortogonal behaviour from nopConve

This is preparation for adding more CR converters. Not every new converter should implement the generic conversion behaviour of CRs.

Fixes parts of kubernetes/kubernetes#64136.

Kubernetes-commit: 88f8c7d1ee5bf2ea0a24e4e58ddf7dd940934219
sttts pushed a commit to sttts/apiextensions-apiserver that referenced this issue Jun 8, 2018
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: unify mono- and multi-versioned test helpers

The mono-versioned helpers are a special case of the multi-versioned ones.

Fixes part of kubernetes/kubernetes#64136.

Kubernetes-commit: deb632e7278d5471d7ec5dfa48778dee3ba620e5
k8s-publishing-bot added a commit to kubernetes/apiextensions-apiserver that referenced this issue Jun 8, 2018
Automatic merge from submit-queue (batch tested with PRs 64060, 63904, 64218, 64208, 64247). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: extract orthortogonal behaviour from nopConve

This is preparation for adding more CR converters. Not every new converter should implement the generic conversion behaviour of CRs.

Fixes parts of kubernetes/kubernetes#64136.

Kubernetes-commit: 88f8c7d1ee5bf2ea0a24e4e58ddf7dd940934219
k8s-publishing-bot added a commit to kubernetes/apiextensions-apiserver that referenced this issue Jun 8, 2018
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: unify mono- and multi-versioned test helpers

The mono-versioned helpers are a special case of the multi-versioned ones.

Fixes part of kubernetes/kubernetes#64136.

Kubernetes-commit: deb632e7278d5471d7ec5dfa48778dee3ba620e5
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 20, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 20, 2018
@nilebox
Copy link

nilebox commented Oct 20, 2018

@sttts @mbohlool CRD versioning is still no-op (no webhook support) AFAIK? Should this issue be un-rotten?

@liggitt
Copy link
Member

liggitt commented Oct 25, 2018

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Oct 25, 2018
@mbohlool mbohlool assigned roycaihw and unassigned mbohlool Apr 15, 2019
@jpbetz
Copy link
Contributor

jpbetz commented May 8, 2019

I'll follow up on the missing tests. My basic plan is to add integration testing of conversion webhooks based on how we integration admission webhooks in test/integration/apiserver/admissionwebhook/admission_test.go. That way we'd have the conversion webhook handler in the integration test code (not as a published docker image like we use for e2e), once that's in place it should be relatively straightfoward to add the test cases described in this issue description. Feedback welcome!

@liggitt liggitt closed this as completed Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/custom-resources lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.
Projects
None yet
Development

No branches or pull requests

9 participants