-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Do not allow modification for creator/lastModifer annotations #4763
Conversation
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.
@savitaashture: 0 warnings.
In response to this:
Fixes #4648
Proposed Changes
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Hi @savitaashture. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test /assign @dgerd |
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.
Reading through the referenced comment, I think @dgerd suggested to validate the incoming update in the webhook, which would be adjusting the Validation method rather than the SetDefaults
method.
@markusthoemmes Thank you |
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.
This should als
399be18
to
a7083a1
Compare
95ca7fc
to
8a1e6f1
Compare
8a1e6f1
to
ff3ce7b
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.
Looks good overall, thanks for the changes?
One general question: Do these changes need to apply to all of our CRDs? Could the logic be generalized in knative.dev/pkg
and then be called in the individual Validate
functions?
ff3ce7b
to
6d2f21e
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.
/approve
Seems to me we can move this in as a stepping stone. Next step would be to make it more general in knative.dev/pkg and then apply it to the other CRDs in a third step?
/assign @dgerd
@markusthoemmes @dgerd |
Needs a rebase. |
@mattmoor waiting for knative/pkg#539 PR to be merge |
Well I can help with that :) The Serving dep on PKG should automatically get updated around 7am Pacific tomorrow. |
2263c78
to
388c30c
Compare
388c30c
to
8a40e3c
Compare
8a40e3c
to
beb13b8
Compare
/retest |
/test pull-knative-serving-integration-tests |
/assign @mattmoor |
/unassign I was going to leave this for @dgerd |
This PR highlights the need to take a further look at de-duping and sharing logic between v1alpha1 and v1beta1, but we can do that in 0.9. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgerd, markusthoemmes, savitaashture 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 |
The following tests are currently flaky. Running them again to verify...
Automatically retrying... |
Fixes #4648
Proposed Changes
#4648 (comment)