summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml')
-rw-r--r--kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml b/kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml
index b949064077..5b8f881c68 100644
--- a/kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml
+++ b/kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml
@@ -33,7 +33,7 @@ spec:
accessModes:
- {{ $root.Values.persistence.accessMode }}
hostPath:
- path: {{ $root.Values.persistence.mountPath }}/{{ $root.Release.Name }}/{{ $root.Values.persistence.mountSubPath }}-{{ $i }}
+ path: {{ $root.Values.global.persistence.mountPath | default $root.Values.persistence.mountPath }}/{{ $root.Release.Name }}/{{ $root.Values.persistence.mountSubPath }}-{{ $i }}
persistentVolumeReclaimPolicy: {{ $root.Values.persistence.volumeReclaimPolicy }}
{{ end }}
#{{ end }}