-
Notifications
You must be signed in to change notification settings - Fork 420
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
Use static selector labels for EL svc/deployments #513
Conversation
Previously, if a user added an extra label, we'd propagate that to the deployment and services. However, in addition, we'd also update the selector fields in both deployments and services to use this additional label. This is unnecessary since the static set of default labels that we add on each resource is enough to match and do not need to be updated throughout the lifecycle of the resources. Fixes tektoncd#463 Co-Authored-By: Vincent Tereso <[email protected]> Signed-off-by: Dibyo Mukherjee <[email protected]>
The following is the coverage report on pkg/.
|
The following is the coverage report on pkg/.
|
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.
I manually tested this too, and it looks good 👍
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncskier 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 |
Previously, if a user added an extra label, we'd propagate that to the
deployment and services. However, in addition, we'd also update the selector
fields in both deployments and services to use this additional label. This is
unnecessary since the static set of default labels that we add on each resource
is enough to match and do not need to be updated throughout the lifecycle of
the resources.
Fixes #463
This PR replaces #510. Changes are:
Changes
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.