X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fpersistent_volume.yaml;h=4f20cd7af8d31a03e9a25906edf0ab54f5e6c08f;hb=f5cd102cf6047225dd25cdaa26f798ecb6c145a5;hp=c39d70a0ca3fe3b3bbc02e329a7eb49aae4e639b;hpb=76a2f103ef57cc47973f0e7914ff5b7036f49800;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