d459d5bb95bea4144498af32ff104cad07e44ecd
[oom.git] / kubernetes / dcaegen2 / components / 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   "default_k8s_location" : "{{ .Values.default_k8s_location }}",
23   "image_pull_secrets" : ["{{ include "common.namespace" . }}-docker-registry-key"],
24   "filebeat":
25     {
26       "log_path": "/var/log/onap",
27       "data_path": "/usr/share/filebeat/data",
28       "config_path": "/usr/share/filebeat/filebeat.yml",
29       "config_subpath": "filebeat.yml",
30       "image" : "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}",
31       "config_map" : "dcae-filebeat-configmap"
32     },
33   "tls":
34     {
35       "cert_path": "/opt/tls/shared",
36       "image": "{{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}",
37       "component_ca_cert_path": "/opt/dcae/cacert/cacert.pem",
38       "ca_cert_configmap": "{{ include "common.fullname" . }}-dcae-cacert"
39     }
40 }