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.
Reviewed: https:/ /review. opendev. org/c/starlingx /platform- armada- app/+/855090 /opendev. org/starlingx/ platform- armada- app/commit/ 48859ba190cc931 d32c7fa4977bc2b 883e59cc26
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 48859ba190cc931 d32c7fa4977bc2b 883e59cc26
Author: Enzo Candotti <email address hidden>
Date: Mon Aug 29 17:54:29 2022 -0300
Add pre-upgrade helm hooks to StorageClass
After the introduction of FluxCD, there have been issues on integ-apps auto re-apply on SX to DX migration.
platform-
This change adds the following helm hooks that were missing from hook-delete- policy" : "before- hook-creation"
StorageClass:
- "helm.sh/hook": "pre-upgrade, pre-install"
- "helm.sh/
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 <email address hidden> 4f9a4bf368d90f1 30dd5131106
Change-Id: I3aa2e8f6cbb750