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 | e17614d0be4a12a10f5b4ef3818945bff1a3aa50 (patch) | |
tree | 233d25f790f44bf930ce72f7794449537db8b770 /charts | |
parent | 9ebd7ac4e0873dbda93eb6ed73492f130ffb5b01 (diff) | |
parent | e6ed02a58f08a63b9aefae8f74feab53959284ae (diff) |
Merge "Fix persistent volume to be mapped to Release.Name"
Diffstat (limited to 'charts')
-rw-r--r-- | charts/aai-data-router/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | charts/aai-elasticsearch/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | charts/aai-hbase/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | charts/aai-traversal/templates/job.yaml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/charts/aai-data-router/templates/deployment.yaml b/charts/aai-data-router/templates/deployment.yaml index f06e8b2..2d45a0b 100644 --- a/charts/aai-data-router/templates/deployment.yaml +++ b/charts/aai-data-router/templates/deployment.yaml @@ -124,7 +124,7 @@ spec: name: {{ include "common.fullname" . }}-dynamic - name: {{ include "common.fullname" . }}-logs hostPath: - path: {{ .Values.persistence.mountPath }}/{{ include "common.namespace" . }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" diff --git a/charts/aai-elasticsearch/templates/deployment.yaml b/charts/aai-elasticsearch/templates/deployment.yaml index 6792d4c..0417536 100644 --- a/charts/aai-elasticsearch/templates/deployment.yaml +++ b/charts/aai-elasticsearch/templates/deployment.yaml @@ -91,6 +91,6 @@ spec: name: {{ include "common.fullname" . }} - name: elasticsearch-data hostPath: - path: {{ .Values.persistence.mountPath }}/{{ include "common.namespace" . }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" diff --git a/charts/aai-hbase/templates/deployment.yaml b/charts/aai-hbase/templates/deployment.yaml index 4c92dfd..5308fa0 100644 --- a/charts/aai-hbase/templates/deployment.yaml +++ b/charts/aai-hbase/templates/deployment.yaml @@ -64,7 +64,7 @@ spec: volumes: - name: hbase-data hostPath: - path: {{ .Values.persistence.mountPath }}/{{ include "common.namespace" . }}/{{ .Values.persistence.mountSubPath }} + path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} - name: localtime hostPath: path: /etc/localtime diff --git a/charts/aai-traversal/templates/job.yaml b/charts/aai-traversal/templates/job.yaml index 7d9f3a5..46af004 100644 --- a/charts/aai-traversal/templates/job.yaml +++ b/charts/aai-traversal/templates/job.yaml @@ -99,7 +99,7 @@ spec: name: aai-filebeat - name: {{ include "common.fullname" . }}-logs hostPath: - path: {{ .Values.persistence.mountPath }}/{{ include "common.namespace" . }}/{{ .Values.persistence.mountSubPath }}-update-query + path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}-update-query - name: {{ include "common.fullname" . }}-filebeat emptyDir: {} - name: {{ include "common.fullname" . }}-log-conf |