diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-05-08 02:05:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-08 02:05:43 +0000 |
commit | 0ebbd987937d747a56efc59f00772521f583668c (patch) | |
tree | 973f9a3c24cb09ecc1602fbba1477c5a5df06522 /kubernetes/policy | |
parent | 1d0467ce4ce990ed2ae9cd333f969bb6c2d742c6 (diff) | |
parent | 56857c4646ffc7d77b7a5908d4c9e18b9206a7dd (diff) |
Merge "Fix persistent volume to be mapped to Release.Name"
Diffstat (limited to 'kubernetes/policy')
-rw-r--r-- | kubernetes/policy/charts/drools/charts/nexus/templates/pv.yaml | 2 | ||||
-rw-r--r-- | kubernetes/policy/charts/mariadb/templates/pv.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/drools/charts/nexus/templates/pv.yaml b/kubernetes/policy/charts/drools/charts/nexus/templates/pv.yaml index 8be3d4c9cb..da117f4919 100644 --- a/kubernetes/policy/charts/drools/charts/nexus/templates/pv.yaml +++ b/kubernetes/policy/charts/drools/charts/nexus/templates/pv.yaml @@ -33,5 +33,5 @@ spec: - {{ .Values.persistence.accessMode }} persistentVolumeReclaimPolicy: {{ .Values.persistence.volumeReclaimPolicy }} hostPath: - path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Namespace }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} {{- end -}} diff --git a/kubernetes/policy/charts/mariadb/templates/pv.yaml b/kubernetes/policy/charts/mariadb/templates/pv.yaml index 8be3d4c9cb..da117f4919 100644 --- a/kubernetes/policy/charts/mariadb/templates/pv.yaml +++ b/kubernetes/policy/charts/mariadb/templates/pv.yaml @@ -33,5 +33,5 @@ spec: - {{ .Values.persistence.accessMode }} persistentVolumeReclaimPolicy: {{ .Values.persistence.volumeReclaimPolicy }} hostPath: - path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Namespace }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} {{- end -}} |