Backport Release Manifest changes #61

Merged
ipetrov117 merged 1 commits from release-manifest-backport into 3.2 2024-12-19 12:54:57 +01:00

1 Commits

Author SHA256 Message Date
b3c6ef5811
Release manifest updates in relation to corner case use-cases (#60)
All checks were successful
OBS: metallb - standard/aarch64
OBS: sriov-network-operator-chart - charts/x86_64
OBS: release-manifest-image - images/x86_64
OBS: metallb - standard/x86_64
OBS: nm-configurator - standard/aarch64
OBS: kiwi-builder-image - images/x86_64
OBS: nm-configurator - standard/x86_64
OBS: baremetal-operator-image - images/x86_64
OBS: akri-webhook-configuration-image - images/x86_64
OBS: edge-image-builder-image - images/aarch64
OBS: metallb-speaker-image - images/aarch64
OBS: hauler - standard/aarch64
OBS: endpoint-copier-operator - standard/x86_64
OBS: metallb-controller-image - images/x86_64
OBS: ironic-image - images/x86_64
OBS: edge-image-builder-image - images/x86_64
OBS: sriov-crd-chart - charts/x86_64
OBS: upgrade-controller-chart - charts/x86_64
OBS: rancher-turtles-chart - charts/x86_64
OBS: akri-udev-discovery-handler-image - images/x86_64
OBS: fakeroot - standard/x86_64
OBS: upgrade-controller - standard/x86_64
OBS: akri - standard/x86_64
OBS: metallb-controller-image - images/aarch64
OBS: hauler - standard/x86_64
OBS: kube-rbac-proxy-image - images/x86_64
OBS: ironic-ipa-downloader-image - images/x86_64
OBS: upgrade-controller-image - images/x86_64
OBS: ironic-ipa-ramdisk - standard/x86_64
OBS: kubectl-image - images/x86_64
Changes:

- Rancher version convention was changed from `v2.10.0` to `2.10.0` to better map to the actual version in the upstream helm chart repo which is without the `v` prefix.

- Rancher's `postDelete` hook has been disabled - done to ensure that we will not hit a corner case where:

   1. The Rancher helm chart upgrade fails, because of a core component not yet being ready
   2. The `helm-controller` schedules a `helm uninstall` which deletes the Rancher Helm release and triggers the `postDelete` hook.
   3. The problematic core component is up and running, so `helm-controller` schedules a `helm install` with the new version.
   4. Due to insufficient resources, or network connection (or other unforeseen problems), the `postDelete` hook is still running and it wrongly removes the new Rancher installation resulting in a missing rancher from the cluster after an upgrade.

The `postDelete` hook ensures that no accidental delete of the Rancher application will happen during an upgrade over a machine with fewer resources.

Reviewed-on: #60
Reviewed-by: Denislav Prodanov <dprodanov@noreply.src.opensuse.org>
Reviewed-by: Nicolas Belouin <nbelouin@noreply.src.opensuse.org>
Reviewed-by: Atanas Dinov <atanasdinov@noreply.src.opensuse.org>
Co-authored-by: Ivo Petrov <ivo.petrov@suse.com>
Co-committed-by: Ivo Petrov <ivo.petrov@suse.com>
(cherry picked from commit fde506f9ef)
Signed-off-by: Ivo Petrov <ivo.petrov@suse.com>
2024-12-19 13:28:45 +02:00