Skip to content
Unverified Commit d7c00ce6 authored by k8s-infra-cherrypick-robot's avatar k8s-infra-cherrypick-robot Committed by GitHub
Browse files

[release-2.28] Fix: the cluster is upgraded from 2.27 to 2.28 cilium will break (#12324)



* Fix: add cilium remove old resources option

Give users two options: besides skip Cilium, add
`cilium_remove_old_resources`, default is `false`, when set to `true`,
it will remove the content of the old version, but it will cause the
downtime, need to be careful to use.

Signed-off-by: default avatarChengHao Yang <17496418+tico88612@users.noreply.github.com>

* Fix: if cilium release exist, the action will set upgrade

`cilium install` is equivalent to `helm install`, it will failed if
cilium relase exist. `cilium version` can know the release exist without
helm binary

Signed-off-by: default avatarChengHao Yang <17496418+tico88612@users.noreply.github.com>

---------

Signed-off-by: default avatarChengHao Yang <17496418+tico88612@users.noreply.github.com>
Co-authored-by: default avatarChengHao Yang <17496418+tico88612@users.noreply.github.com>
parent cf6e96de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment