cilium-cli
cilium-cli copied to clipboard
install: allowing `install` over interrupted previous installation
Bug report
If cilium install
is abruptly interrupted while in progress, the rollback code does not have a chance to run and there are leftover resources.
One solution could be to have cilium install
be more lenient with existing resources and accepting them as-is or editing them instead of failing when they are already present.
- Detected in #584.
- Related to #149.
How to reproduce the issue
- Run
cilium install
- Have it abruptly interrupted (e.g. kill process) while in progress
- Run
cilium install
again - Fails due to partially installed resources (e.g.
hubble-server-certs
)
Might be a good reason to implement https://github.com/cilium/cilium-cli/issues/115.
my first install is successful, when i install agagin, it report error sucks