summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
76a2f10)
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>
# limitations under the License.
---
# limitations under the License.
---
+{{- if .Values.db.persistence }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
requests:
storage: {{ .Values.db.storageSize }}
storageClassName: general
requests:
storage: {{ .Values.db.storageSize }}
storageClassName: general
---
\ No newline at end of file
---
\ No newline at end of file