summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2018-02-08 08:29:24 -0500
committerMunir Ahmad <munir.ahmad@bell.ca>2018-02-16 16:36:25 +0000
commit07652a44b6f09d3a300b78c92fa9f31eeb469dd7 (patch)
tree38e5d53393ce6ed26688f81e4dba7ec365102c0e
parent99f376ca5a3353494e10aa4542a18e8868558998 (diff)
Persist AAI /var/chef/aai-config/
Issue-ID: OOM-674 Change-Id: Ie4dcd33d1d8bbb5dbdf553f212b799304fa41cf7 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
-rw-r--r--kubernetes/aai/templates/aai-resources-deployment.yaml5
-rw-r--r--kubernetes/aai/templates/aai-traversal-deployment.yaml5
2 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index 962078b45e..e1bc7726e0 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/templates/aai-resources-deployment.yaml
@@ -63,6 +63,8 @@ spec:
readOnly: true
- mountPath: /var/chef/aai-data/
name: aai-data
+ - mountPath: /var/chef/aai-config/
+ name: aai-config
- mountPath: /var/log/onap
name: aai-resources-logs
- mountPath: /opt/app/aai-resources/bundleconfig/etc/logback.xml
@@ -92,6 +94,9 @@ spec:
- name: aai-data
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-data/"
+ - name: aai-config
+ hostPath:
+ path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-config/"
- name: filebeat-conf
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
diff --git a/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml
index 4fc4d7f89c..1c344c7fc7 100644
--- a/kubernetes/aai/templates/aai-traversal-deployment.yaml
+++ b/kubernetes/aai/templates/aai-traversal-deployment.yaml
@@ -65,6 +65,8 @@ spec:
readOnly: true
- mountPath: /var/chef/aai-data/
name: aai-data
+ - mountPath: /var/chef/aai-config/
+ name: aai-config
- mountPath: /var/log/onap
name: aai-traversal-logs
- mountPath: /opt/app/aai-traversal/bundleconfig/etc/logback.xml
@@ -94,6 +96,9 @@ spec:
- name: aai-data
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-data/"
+ - name: aai-config
+ hostPath:
+ path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-config/"
- name: filebeat-conf
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml