-
Notifications
You must be signed in to change notification settings - Fork 345
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
kamel uninstall
should also delete leases
#3473
Comments
fyi @christophd |
I could not reproduce but I faced an issue with the platform Kamelets that should be fixed by #3553 |
I confirm that leases (along with integrations, integration kits, builds, camel catalogs, Kamelet bindings...) are not deleted by the uninstall command however they don't prevent the install command to work as expected since the install command only checks whether an integration platform with the same name already exists in the namespace and the integration platform is properly removed by the uninstall command. The lease exists in the namespace...
but it doesn't prevent the install command to work as expected
Knowing that, shall we still remove the lease on uninstall? NB: Once the new operator is installed in the namespace, a new lead is then elected such that the lease is automatically updated without the need to delete it first |
What version have you used for testing this? The failure happens in version >= 1.10 (also nightly) only. |
I tested it with 1.9.2, I can indeed reproduce it with 1.10, thx for the clarifications 🙏 |
I've checked with @gansheer the expected behavior and we realized this is not a bug. Basically the lease is created by the operator |
I've uninstalled everything but I can still see leases around that won't let me install again an operator due to
installation not allowed because operator with id 'camel-k-missing-deps' already exists, use the --force option to skip this check
The text was updated successfully, but these errors were encountered: