Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uninstall: when --wait is specified, use foreground deletion.
By default, the helm libraries will use background cascading delete which means the call to do helm uninstall returns following the deployment being removed. This means that running workloads, such as hubble-relay, may continue to be in the terminating state following `cilium uninstall --wait` exiting. We depend on this behavior in CI E2E to clean up and reuse clusters for testing Cilium in different configurations. In flakes such as: cilium/cilium#30993 it seems like the old Hubble Pods are bleeding into the "fresh" install. These should be harmless, however this is triggering failures of the [no-error-logs] assertion in the following connectivity tests. This change will provide a more thorough uninstall procedure in this case. Signed-off-by: Tom Hadlaw <[email protected]>
- Loading branch information