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

fix(deployment): do not use generic k8s labels #281

Merged

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Oct 18, 2023

Previously, deploying operator created deployment that used generic
control-plane: controller-manager label. This causes external tools
(including the must-gather script) to lookup pods that can belong to
any deployment that has this label. This commit replaces the label
with app.kubernetes.io/instance: controller-manager.

Fixes: https://issues.redhat.com/browse/POWERMON-159
Signed-off-by: Sunil Thaha [email protected]

@sthaha sthaha requested a review from vimalk78 October 18, 2023 07:48
Previously, deploying operator created deployment that used generic
`control-plane: controller-manager` label. This causes external tools
(including the must-gather script) to lookup pods that can belong to
**any** deployment that has this label. This commit replaces the label
with `app.kubernetes.io/instance: controller-manager`.

Fixes: https://issues.redhat.com/browse/POWERMON-159
Signed-off-by: Sunil Thaha <[email protected]>
@sthaha sthaha force-pushed the fix-controller-labels branch from ea847e4 to 9e89874 Compare October 20, 2023 03:51
Copy link
Collaborator

@vimalk78 vimalk78 left a comment

Choose a reason for hiding this comment

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

lgtm

@vimalk78 vimalk78 merged commit ffcdd16 into sustainable-computing-io:v1alpha1 Oct 20, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants