Skip to content

[CP 319] fix: narrow node label cleanup to only remove network-operator labels#89

Open
ci-penbot-01 wants to merge 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.network-operator.319.rocm.network-operator.main
Open

[CP 319] fix: narrow node label cleanup to only remove network-operator labels#89
ci-penbot-01 wants to merge 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.network-operator.319.rocm.network-operator.main

Conversation

@ci-penbot-01
Copy link
Copy Markdown
Contributor

cp of pensando/network-operator#319

… (#319)

The updateNodeLabels() prefix match was too broad (amd.com, beta.amd.com),
causing removal of gpu-operator labels (amd.com/gpu.*, beta.amd.com/gpu.*)
when deleting a NetworkConfig CR. Scope the match to amd.com/nic and
beta.amd.com/nic to only clean up labels owned by the network-operator.

Ref: pensando/network-operator#318

Signed-off-by: Leonardo Ochoa-Aday <lochoa@redhat.com>
(cherry picked from commit 176a2a6dd6bf01f7269af6d064e7a062a4a091d0)
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