1 # Copyright © 2017 Amdocs, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #{{ if not .Values.disableLogLogstash }}
16 apiVersion: extensions/v1beta1
22 namespace: {{ .Values.nsPrefix }}
24 replicas: {{ .Values.logstashReplicas }}
45 fieldPath: metadata.namespace
46 image: {{ .Values.image.readiness }}
47 imagePullPolicy: {{ .Values.pullPolicy }}
48 name: logstash-readiness
51 image: {{ .Values.image.logstash }}
63 - mountPath: /usr/share/logstash/config/
65 - mountPath: /usr/share/logstash/pipeline/
66 name: logstash-pipeline
70 name: log-logstash-configmap
74 - name: logstash-pipeline
76 name: log-logstash-configmap
78 - key: onap-pipeline.conf
79 path: onap-pipeline.conf
85 name: log-logstash-configmap
86 namespace: {{ .Values.nsPrefix }}
88 {{ tpl (.Files.Glob "resources/logstash/conf/logstash.yml").AsConfig . | indent 2 }}
89 {{ tpl (.Files.Glob "resources/logstash/pipeline/onap-pipeline.conf").AsConfig . | indent 2 }}