diff options
author | BorislavG <Borislav.Glozman@amdocs.com> | 2018-05-03 14:29:51 +0000 |
---|---|---|
committer | BorislavG <Borislav.Glozman@amdocs.com> | 2018-05-07 10:58:52 +0000 |
commit | e6ed02a58f08a63b9aefae8f74feab53959284ae (patch) | |
tree | 586566d054b42f0b5daba026e98d1436eee6ff47 /charts | |
parent | ae29f3c1227e96337aff9bfef8afd016818a0c8a (diff) |
Fix persistent volume to be mapped to Release.Name
Change-Id: I98754174e50537df2e82a9d9b40f471edff19e69
Issue-ID: OOM-907
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
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 ceb9884..677cbd4 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 b9b2501..756bc1a 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 |