aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-cassandra/templates
diff options
context:
space:
mode:
authorRahul Sharma <Rahul.Sharma2@amdocs.com>2018-12-20 15:55:01 -0500
committerRahul Sharma <Rahul.Sharma2@amdocs.com>2018-12-20 15:58:36 -0500
commitdd1d0273a34575486fcdef3d7e07d1fa675dcc91 (patch)
treea5d9691aa1043cb77ed4f2245d6937e1d640b6d0 /kubernetes/aai/charts/aai-cassandra/templates
parent1edac685a0289e9cdb6cc6916b444bfb45d7d97c (diff)
OOM-1565: AAI Volume chart Persistent mount
AAI volumes chart is not taking global Persistent Mount into consideration Change-Id: I2d861e2406c95bfb0e923d068d29b68c4a61a68b Issue-ID: OOM-1565 Signed-off-by: Rahul Sharma <Rahul.Sharma2@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-cassandra/templates')
-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 }}