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: properly set annotations and labels to Kamelets #3553

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

essobedo
Copy link
Contributor

@essobedo essobedo commented Aug 18, 2022

Related to #3473

Motivation

When using the uninstall command, the platform Kamelets are not removed as expected due to a missing label.

Modifications

  • Avoid modifiying directly the map returned by kamelet.GetLabels() and kamelet.GetAnnotations() as we get a new copy at each call
  • Set the labels and annotations once the changes are done
  • Add a test to ensure that it is fixed

Release Note

NONE

@essobedo essobedo force-pushed the 3473/allow-uninstall-kameletes branch from 917a58a to cda0a50 Compare August 19, 2022 08:04
@tadayosi tadayosi merged commit 962dcea into main Aug 22, 2022
@essobedo essobedo deleted the 3473/allow-uninstall-kameletes branch August 23, 2022 06:23
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.

None yet

2 participants