diff options
Diffstat (limited to 'kubernetes/aai/charts/aai-cassandra')
-rw-r--r-- | kubernetes/aai/charts/aai-cassandra/templates/volumes.yaml | 2 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-cassandra/values.yaml | 2 |
2 files changed, 2 insertions, 2 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 }} diff --git a/kubernetes/aai/charts/aai-cassandra/values.yaml b/kubernetes/aai/charts/aai-cassandra/values.yaml index 1e1d2c1c2f..24f9c78c50 100644 --- a/kubernetes/aai/charts/aai-cassandra/values.yaml +++ b/kubernetes/aai/charts/aai-cassandra/values.yaml @@ -17,7 +17,7 @@ # Declare variables to be passed into your templates. global: # global defaults nodePortPrefix: 302 - + persistence: {} # application image dockerhubRepository: registry.hub.docker.com |