summaryrefslogtreecommitdiffstats
path: root/charts
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-02-25 10:23:18 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-25 10:23:18 +0000
commit53a6d1d6fc536117536f1a70a8a909370524c110 (patch)
tree0ac50eb67f111d102f7bdcd27ea45b66fae11100 /charts
parent421468165b7f402497a94d082577cac0181613d1 (diff)
parent9fd6bec18e6fbed246641d2641ea34e7def1cad7 (diff)
Merge "Ensure create database schema job logs stored"
Diffstat (limited to 'charts')
-rw-r--r--charts/aai-graphadmin/templates/job.yaml5
-rw-r--r--charts/aai-graphadmin/values.yaml4
2 files changed, 7 insertions, 2 deletions
diff --git a/charts/aai-graphadmin/templates/job.yaml b/charts/aai-graphadmin/templates/job.yaml
index 7f90f64..a6784aa 100644
--- a/charts/aai-graphadmin/templates/job.yaml
+++ b/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/charts/aai-graphadmin/values.yaml b/charts/aai-graphadmin/values.yaml
index d87aa74..bdcb82c 100644
--- a/charts/aai-graphadmin/values.yaml
+++ b/charts/aai-graphadmin/values.yaml
@@ -107,6 +107,10 @@ service:
ingress:
enabled: false
+persistence:
+ mountPath: /dockerdata-nfs
+ mountSubPath: aai/aai-graphadmin
+
resources:
small:
limits: