Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

[reconciler]: fix label assignment on mwhc #4431

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

snehachhabria
Copy link
Contributor

Description:

Fixed label assignment on the mwhc by reusing the locally created labels
for correct assignment of reconciler labels.

Signed-off-by: Sneha Chhabria [email protected]

Testing done: Manually verified the change

Affected area:

Functional Area
New Functionality [ ]
CI System [ ]
CLI Tool [ ]
Certificate Management [ ]
Control Plane [ ]
Demo [ ]
Documentation [ ]
Egress [ ]
Ingress [ ]
Install [ ]
Networking [ ]
Observability [ ]
Performance [ ]
SMI Policy [ ]
Security [ ]
Sidecar Injection [ ]
Tests [ ]
Upgrade [ ]
Other [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

Fixed label assignment on the mwhc by reusing the locally created labels
for correct assignment of reconciler labels.

Signed-off-by: Sneha Chhabria <[email protected]>
Copy link
Member

@shashankram shashankram left a comment

Choose a reason for hiding this comment

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

Since the reconciliation depends on the labels being correct, I'd add a unit test to detect such an issue.

@snehachhabria
Copy link
Contributor Author

Since the reconciliation depends on the labels being correct, I'd add a unit test to detect such an issue.

This change was added to ensure the presence of the label is consistent with the docs. when the reconciler isn't enabled, there shouldn't be a reconcile label on the resources. We won't really need a unit test for this as it doesn't impact functionality

@snehachhabria snehachhabria merged commit c7675e5 into openservicemesh:main Jan 12, 2022
@snehachhabria snehachhabria deleted the fixMwhcLabels branch January 12, 2022 20:21
@snehachhabria
Copy link
Contributor Author

@Mergifyio backport release-v1.0

mergify bot pushed a commit that referenced this pull request Jan 12, 2022
Fixed label assignment on the mwhc by reusing the locally created labels
for correct assignment of reconciler labels.

Signed-off-by: Sneha Chhabria <[email protected]>
(cherry picked from commit c7675e5)
@mergify
Copy link
Contributor

mergify bot commented Jan 12, 2022

backport release-v1.0

✅ Backports have been created

snehachhabria added a commit that referenced this pull request Jan 12, 2022
Fixed label assignment on the mwhc by reusing the locally created labels
for correct assignment of reconciler labels.

Signed-off-by: Sneha Chhabria <[email protected]>
(cherry picked from commit c7675e5)

Co-authored-by: Sneha Chhabria <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to/release=v1.0.0 Backport to release v1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants