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

Drop spec.generation support #234

Merged

Conversation

dprotaso
Copy link
Member

@dprotaso dprotaso commented Jan 21, 2019

With Kubernetes 1.11+ metadata.generation now increments properly
when the status subresource is enabled on CRDs

Thus we can drop

  • the webhook logic incrementing spec.generation
  • the generational duck type

Addresses part of knative/serving#643

Holding for now - since I will prepare PRs in other repos incorporating this change
/hold

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 21, 2019
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 21, 2019
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 21, 2019
@dprotaso dprotaso force-pushed the drop-spec-generation-support branch 2 times, most recently from 583ab64 to b9969e7 Compare January 21, 2019 17:14
@mattmoor
Copy link
Member

/assign @vaikas-google

I'll be glad to see this gone. I'll let @vaikas-google do the honors :)

@vaikas
Copy link
Contributor

vaikas commented Jan 23, 2019

awesome!!
/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 23, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, vaikas-google

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 23, 2019
With Kubernetes 1.11+ metadata.generation now increments properly
when the status subresource is enabled on CRDs

For more details see: knative/serving#643
@dprotaso dprotaso force-pushed the drop-spec-generation-support branch from b9969e7 to 6b780d9 Compare February 14, 2019 14:46
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2019
@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-pkg-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
webhook/webhook.go 81.0% 83.6% 2.6

@mattmoor
Copy link
Member

/lgtm

@dprotaso Remove the hold when you are ready to pull the trigger on the other repos?

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 14, 2019
@dprotaso
Copy link
Member Author

everything went green

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 14, 2019
@knative-prow-robot knative-prow-robot merged commit 0183bf9 into knative:master Feb 14, 2019
@dprotaso dprotaso deleted the drop-spec-generation-support branch February 14, 2019 16:29
chengjingtao pushed a commit to katanomi/knative-pkg that referenced this pull request Oct 22, 2024
…ve#234)

1. add list cluster namespaces implemention for MultiClusterClient
2. add MultiClusterClient into testing context

Signed-off-by: jtcheng <jtcheng@alauda.io>
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants