5d8bf5094782b87a9c80935981d871693659a7a3
[oom.git] / kubernetes / dcaegen2 / charts / dcae-bootstrap / resources / config / k8s-plugin.json
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2018 Amdocs, Bell Canada
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 {
20   "namespace" : "{{ if .Values.dcae_ns }}{{ .Values.dcae_ns}}{{ else }}{{include "common.namespace" . }}{{ end}}",
21   "consul_dns_name" : "{{ .Values.config.address.consul.host }}.{{ include "common.namespace" . }}",
22   "image_pull_secrets" : ["{{ include "common.namespace" . }}-docker-registry-key"],
23   "filebeat":
24     {
25       "log_path": "/var/log/onap",
26       "data_path": "/usr/share/filebeat/data",
27       "config_path": "/usr/share/filebeat/filebeat.yml",
28       "config_subpath": "filebeat.yml",
29       "image" : "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}",
30       "config_map" : "dcae-filebeat-configmap"
31     }
32 }