X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fpersistent_volume.yaml;h=4f20cd7af8d31a03e9a25906edf0ab54f5e6c08f;hb=d526dada19a291932dd2c235fc2c40f0422ccdd7;hp=c39d70a0ca3fe3b3bbc02e329a7eb49aae4e639b;hpb=80a6b768ca9ca1e6fd0c7269d3ab8452a543e2c9;p=pti%2Fo2.git diff --git a/charts/templates/persistent_volume.yaml b/charts/templates/persistent_volume.yaml index c39d70a..4f20cd7 100644 --- 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