Fix application upgrade failure with Helm 15/13315/1 g-release
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 13 Nov 2024 08:13:00 +0000 (16:13 +0800)
committerJon Zhang <rong.zhang@windriver.com>
Thu, 21 Nov 2024 05:35:29 +0000 (05:35 +0000)
commitaf02f43dde2861002daabfcee53289ee33f61542
tree0bd247fdcc3afbb4cf72120feb10a4e1ee41e0e3
parent01875c1b6ef69fb03b19a47268940a3d27ea8518
Fix application upgrade failure with Helm

The deployment strategy defaults to a rolling update,
which can cause errors during the upgrade process.

This commit modifies the strategy to "Recreate," which
stops the existing pod first before initializing the new one.

TEST PLAN:
- Upgrade the application and it completes without issues

Change-Id: I52d86bdda5b8136401448d6e4b85743f28fda79c
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
(cherry picked from commit 3bc4bc52a8821490be105719be2ad5bb25039133)
charts/templates/deployment.yaml