summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-resources
diff options
context:
space:
mode:
authorHarish V Kajur <vk250x@att.com>2018-05-07 14:02:46 +0000
committerHarish V Kajur <vk250x@att.com>2018-05-07 14:03:52 +0000
commit8e7cbd2e928e2bb8c5958e1ceeb52280cd8b319d (patch)
tree65052a26be0a419aaecf2285afb4b43b9732c846 /kubernetes/aai/charts/aai-resources
parent891e1d12cccb1986238b48e7bd2e25476dcfa90c (diff)
Update log path to get filebeat working
for resources and traversal microservice as well as add shasum to configmap so when doing an upgrade on the charts and if the configmaps are updated due to that the containers responsible for that configmap gets restarted as well Issue-ID: AAI-1110 Change-Id: Ie2b539f512003a30dd82cdaa497141cb7f49bf7d Signed-off-by: Harish V Kajur <vk250x@att.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-resources')
-rw-r--r--kubernetes/aai/charts/aai-resources/templates/deployment.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-resources/templates/deployment.yaml b/kubernetes/aai/charts/aai-resources/templates/deployment.yaml
index 6c65bce4cc..932534a284 100644
--- a/kubernetes/aai/charts/aai-resources/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-resources/templates/deployment.yaml
@@ -34,6 +34,7 @@ spec:
release: {{ .Release.Name }}
name: {{ include "common.name" . }}
annotations:
+ checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
msb.onap.org/service-info: '[
{
"serviceName": "_aai-cloudInfrastructure",
@@ -453,7 +454,7 @@ spec:
- mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties
name: {{ include "common.fullname" . }}-aaiconfig-conf
subPath: aaiconfig.properties
- - mountPath: /var/log/onap
+ - mountPath: /opt/aai/logroot/AAI-RES
name: {{ include "common.fullname" . }}-logs
- mountPath: /opt/app/aai-resources/resources/logback.xml
name: {{ include "common.fullname" . }}-log-conf