diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-02-25 10:23:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-25 10:23:18 +0000 |
commit | 91a7fd0f6715153591e9ad4608fffb13f004fb9e (patch) | |
tree | 0a8aed255fa987f51a09751d50af665b03af7657 | |
parent | acd9369defc2515099c444aeec520cba93d42b36 (diff) | |
parent | 49f85b70b928cce55578a9d91d2cbaf4fa47d683 (diff) |
Merge "Ensure create database schema job logs stored"
-rw-r--r-- | kubernetes/aai/charts/aai-graphadmin/templates/job.yaml | 5 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-graphadmin/values.yaml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/kubernetes/aai/charts/aai-graphadmin/templates/job.yaml b/kubernetes/aai/charts/aai-graphadmin/templates/job.yaml index 7f90f640fa..a6784aa2b3 100644 --- a/kubernetes/aai/charts/aai-graphadmin/templates/job.yaml +++ b/kubernetes/aai/charts/aai-graphadmin/templates/job.yaml @@ -93,7 +93,7 @@ spec: - mountPath: /opt/app/aai-graphadmin/resources/etc/appprops/aaiconfig.properties name: {{ include "common.fullname" . }}-aaiconfig-conf subPath: aaiconfig.properties - - mountPath: /opt/aai/logroot/AAI-RES + - mountPath: /opt/aai/logroot/AAI-GA name: {{ include "common.fullname" . }}-logs - mountPath: /opt/app/aai-graphadmin/resources/logback.xml name: {{ include "common.fullname" . }}-log-conf @@ -128,7 +128,8 @@ spec: configMap: name: aai-filebeat - name: {{ include "common.fullname" . }}-logs - emptyDir: {} + hostPath: + path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}-create-db-schema - name: {{ include "common.fullname" . }}-filebeat emptyDir: {} - name: {{ include "common.fullname" . }}-log-conf diff --git a/kubernetes/aai/charts/aai-graphadmin/values.yaml b/kubernetes/aai/charts/aai-graphadmin/values.yaml index d87aa74cc9..bdcb82c07a 100644 --- a/kubernetes/aai/charts/aai-graphadmin/values.yaml +++ b/kubernetes/aai/charts/aai-graphadmin/values.yaml @@ -107,6 +107,10 @@ service: ingress: enabled: false +persistence: + mountPath: /dockerdata-nfs + mountSubPath: aai/aai-graphadmin + resources: small: limits: |