aboutsummaryrefslogtreecommitdiffstats
path: root/components/aai-traversal/templates/job.yaml
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2019-08-16 12:25:34 -0400
committerJimmy Forsyth <jf2512@att.com>2019-08-16 12:28:11 -0400
commit55cb73cadc59537643c0fe5cb7ededadc9ff2b48 (patch)
treeb98d9c4f8e458054acb4f03cc3841614ea3f55ce /components/aai-traversal/templates/job.yaml
parent694a9bd9fe014142a81fc03787b67de9bb1e6089 (diff)
Add misc as a volumeMount
Issue-ID: AAI-2440 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Ie9b90135cac72c4eadd5e727e79ff505ceaf934f
Diffstat (limited to 'components/aai-traversal/templates/job.yaml')
-rw-r--r--components/aai-traversal/templates/job.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/aai-traversal/templates/job.yaml b/components/aai-traversal/templates/job.yaml
index 31db068..33bc694 100644
--- a/components/aai-traversal/templates/job.yaml
+++ b/components/aai-traversal/templates/job.yaml
@@ -67,7 +67,7 @@ spec:
- "-c"
- |
set -x
- mkdir -p /opt/aai/logroot/AAI-GQ/misc
+ if [ ! -d /opt/aai/logroot/AAI-GQ/misc ]; then mkdir -p /opt/aai/logroot/AAI-GQ/misc; fi
until nc -w10 -z -v aai.{{.Release.Namespace}} 8443; do echo "Retrying to reach aai on port 8443"; done;
bash -x /opt/app/aai-traversal/docker-entrypoint.sh install/updateQueryData.sh
env:
@@ -90,6 +90,8 @@ spec:
subPath: aaiconfig.properties
- mountPath: /opt/aai/logroot/AAI-GQ/
name: {{ include "common.fullname" . }}-logs
+ - mountPath: /opt/aai/logroot/AAI-GQ/misc
+ name: {{ include "common.fullname" . }}-logs-misc
- mountPath: /opt/app/aai-traversal/resources/logback.xml
name: {{ include "common.fullname" . }}-config
subPath: logback.xml
@@ -117,6 +119,8 @@ spec:
- name: {{ include "common.fullname" . }}-logs
hostPath:
path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}-update-query
+ - name: {{ include "common.fullname" . }}-logs-misc
+ emptyDir: {}
- name: {{ include "common.fullname" . }}-filebeat
emptyDir: {}
- name: {{ include "common.fullname" . }}-config