Fix the helm install failed 43/12943/2
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Fri, 7 Jun 2024 03:29:01 +0000 (11:29 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 12 Jun 2024 15:34:26 +0000 (23:34 +0800)
commitf5cd102cf6047225dd25cdaa26f798ecb6c145a5
tree691ecd8af571a87c5ec0800ddecde0bca36cff6c
parent76a2f103ef57cc47973f0e7914ff5b7036f49800
Fix the helm install failed

The Helm install will fail if the persistent volume is not enabled.

This commit addresses this issue. If the persistent database
is disabled, Helm will install successfully.

Test Plan:
1. Set the persistent database to true, and verify that the persistent
   volume works correctly.
2. Set the persistent database to false, and verify that Helm installs
   correctly.

Issue-ID: INF-465
Change-Id: I2f3f483ccac5386b8746e259d601fab8385073f7
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
charts/templates/persistent_volume.yaml