summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-babel/templates
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-05-09 18:26:07 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-09 18:26:07 +0000
commit95c26397ee02253098f53631e0e448767596806a (patch)
tree216534bfd79124fd5f28cbf99f5c0c575bf38311 /kubernetes/aai/charts/aai-babel/templates
parenta6e320f7ff89eb9c1419b2b43320c8e3e673776d (diff)
parent4bcabf5fd1120f9d4cba26b0f8bf1a85c1c958d3 (diff)
Merge "Update ML and Babel logback.xml config"
Diffstat (limited to 'kubernetes/aai/charts/aai-babel/templates')
-rw-r--r--kubernetes/aai/charts/aai-babel/templates/deployment.yaml21
1 files changed, 20 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-babel/templates/deployment.yaml b/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
index af25b47624..2aac029a9f 100644
--- a/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-babel/templates/deployment.yaml
@@ -75,7 +75,7 @@ spec:
subPath: babel-auth.properties
- mountPath: /opt/app/babel/config/auth
name: {{ include "common.fullname" . }}-secrets
- - mountPath: /logs
+ - mountPath: /var/log/onap
name: {{ include "common.fullname" . }}-logs
- mountPath: /opt/app/babel/config/logback.xml
name: {{ include "common.fullname" . }}-config
@@ -90,6 +90,20 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
+
+ # side car containers
+ - name: filebeat-onap
+ image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ volumeMounts:
+ - mountPath: /usr/share/filebeat/filebeat.yml
+ subPath: filebeat.yml
+ name: filebeat-conf
+ - mountPath: /var/log/onap
+ name: {{ include "common.fullname" . }}-logs
+ - mountPath: /usr/share/filebeat/data
+ name: aai-filebeat
+
volumes:
- name: localtime
hostPath:
@@ -107,7 +121,12 @@ spec:
- name: {{ include "common.fullname" . }}-secrets
secret:
secretName: {{ include "common.fullname" . }}-babel-secrets
+ - name: filebeat-conf
+ configMap:
+ name: aai-filebeat
- name: {{ include "common.fullname" . }}-logs
emptyDir: {}
+ - name: aai-filebeat
+ emptyDir: {}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"