platform-armada-app/stx-platform-helm
Enzo Candotti 48859ba190 Add pre-upgrade helm hooks to StorageClass
After the introduction of FluxCD, there have been issues on
platform-integ-apps auto re-apply on SX to DX migration.

This change adds the following helm hooks that were missing from
StorageClass:
- "helm.sh/hook": "pre-upgrade, pre-install"
- "helm.sh/hook-delete-policy": "before-hook-creation"

Test Plan:

PASS: CentOS - Create platform-integ-apps tgz with these changes and
test the migration.
PASS: Debian - Create platform-integ-apps tgz with these changes and
test the migration.

Closes-bug: 1970443

Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: I3aa2e8f6cbb7504f9a4bf368d90f130dd5131106
2022-08-31 17:23:08 +00:00
..