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

Bump knative.dev/pkg to 528ad1c 🔥 #1412

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

vdemeester
Copy link
Member

Changes

This brings some change on how to create the webhook, alongside import
change related to the injection packages.

One of the reason to do that, is to be able to update the k8s dependency in a cleaner way 👼 (otherwise it's gonna be hell to review I think 😅 )

Signed-off-by: Vincent Demeester [email protected]

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Double check this list of stuff that's easy to miss:

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Oct 10, 2019
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 10, 2019
@vdemeester vdemeester mentioned this pull request Oct 10, 2019
3 tasks
This brings some change on how to create the webhook, alongside import
change related to the injection packages.

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester
Copy link
Member Author

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 10, 2019
@vdemeester
Copy link
Member Author

/cc @afrittoli @abayer

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dibyom

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 16, 2019
@vdemeester
Copy link
Member Author

Will remove the hold once 0.8 is released 😉

@vdemeester
Copy link
Member Author

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 22, 2019
Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

Nice, thank you!
/lgtm

}
//TODO add validations here
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to lose this comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

So I removed it because we are already doing validation in the webhook, so I felt it wasn't necessary anymore.

v1alpha1.SchemeGroupVersion.WithKind("Condition"): &v1alpha1.Condition{},
}

resourceAdmissionController := webhook.NewResourceAdmissionController(resourceHandlers, options, true)
Copy link
Member

Choose a reason for hiding this comment

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

NIT: The third parameter here is the "DisallowUnknownFields" - but to know that one has to lookup the NewResourceAdmissionController code, so I think we lose a bit in readability.

Copy link
Member Author

Choose a reason for hiding this comment

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

@afrittoli I agree 😅 We should either name that boolean or propose some changes upstream to make the New… more "functionnal".

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 22, 2019
@tekton-robot tekton-robot merged commit f4c53fc into tektoncd:master Oct 22, 2019
@vdemeester vdemeester deleted the bump-knative branch October 22, 2019 11:25
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 Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm 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.

5 participants