Fix application upgrade failure with Helm 47/13747/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 13 Nov 2024 08:13:00 +0000 (16:13 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 13 Nov 2024 08:13:05 +0000 (16:13 +0800)
commit3bc4bc52a8821490be105719be2ad5bb25039133
tree5adfbe869e2eca4f44e982a1314f16522f92400b
parent76669a56b678e7d493c1a229552f84d4a020e81a
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>
charts/templates/deployment.yaml