Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix the helm install failed
[pti/o2.git]
/
charts
/
templates
/
persistent_volume.yaml
diff --git
a/charts/templates/persistent_volume.yaml
b/charts/templates/persistent_volume.yaml
index
c39d70a
..
4f20cd7
100644
(file)
--- a/
charts/templates/persistent_volume.yaml
+++ b/
charts/templates/persistent_volume.yaml
@@
-13,6
+13,7
@@
# limitations under the License.
---
+{{- if .Values.db.persistence }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@@
-25,4
+26,5
@@
spec:
requests:
storage: {{ .Values.db.storageSize }}
storageClassName: general
+{{- end }}
---
\ No newline at end of file