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

Reduce a deployments selector to only match the revision uid #2818

Merged

Conversation

dprotaso
Copy link
Member

Prior the selector criteria would include all the revision's labels.
This would cause reconciliation of a revision's deployment to fail
when a revision label was added/removed.

Release Note

NONE

Prior the selector criteria would include all the revision's labels.
This would cause reconciliation of a revision's deployment to fail
when a revision label was added/removed.
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 31, 2018
@dprotaso
Copy link
Member Author

/assign @mattmoor

Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@dprotaso: 0 warnings.

In response to this:

Prior the selector criteria would include all the revision's labels.
This would cause reconciliation of a revision's deployment to fail
when a revision label was added/removed.

Release Note

NONE

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.

@knative-metrics-robot
Copy link

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

File Old Coverage New Coverage Delta
pkg/reconciler/v1alpha1/revision/cruds.go 90.5% 90.7% 0.2

@dprotaso
Copy link
Member Author

/test pull-knative-serving-integration-tests

@dprotaso
Copy link
Member Author

/label serving-0.3

Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

This looks like a nice simplification 🎉

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, mattmoor

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 2, 2019
@dprotaso
Copy link
Member Author

dprotaso commented Jan 2, 2019

/test pull-knative-serving-unit-tests

@knative-prow-robot knative-prow-robot merged commit d60628d into knative:master Jan 2, 2019
@dprotaso dprotaso deleted the deployment-label-selector branch January 2, 2019 21:16
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. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants