Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / dcaegen2 / components / dcae-bootstrap / resources / config / k8s-plugin.json
1 {{/*
2 #============LICENSE_START========================================================
3 #=================================================================================
4 # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
5 # Modifications Copyright © 2018 Amdocs, Bell Canada
6 # Modifications (c) 2020 Nokia. All rights reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #     http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20 */}}
21
22 {
23   "namespace" : "{{ if .Values.dcae_ns }}{{ .Values.dcae_ns}}{{ else }}{{include "common.namespace" . }}{{ end}}",
24   "consul_dns_name" : "{{ .Values.config.address.consul.host }}.{{ include "common.namespace" . }}",
25   "default_k8s_location" : "{{ .Values.default_k8s_location }}",
26   "image_pull_secrets" : ["{{ include "common.namespace" . }}-docker-registry-key"],
27   "filebeat":
28     {
29       "log_path": "/var/log/onap",
30       "data_path": "/usr/share/filebeat/data",
31       "config_path": "/usr/share/filebeat/filebeat.yml",
32       "config_subpath": "filebeat.yml",
33       "image" : "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}",
34       "config_map" : "{{ include "common.release" . }}-dcae-filebeat-configmap"
35     },
36   "tls":
37     {
38       "cert_path": "/opt/app/osaaf",
39       "image": "{{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}",
40       "component_cert_dir": "/opt/dcae/cacert",
41       "component_ca_cert_path": "/opt/dcae/cacert/cacert.pem",
42       "ca_cert_configmap": "{{ include "common.fullname" . }}-dcae-cacert"
43     },
44   "external_cert":
45     {
46       "image_tag": "{{ .Values.global.tlsRepository }}/{{ .Values.cmpv2Config.global.platform.certServiceClient.image }}",
47       "request_url": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.requestURL }}",
48       "timeout":  "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.requestTimeout }}",
49       "country": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.cmpv2Country }}",
50       "organization": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.cmpv2Organization }}",
51       "state": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.cmpv2State }}",
52       "organizational_unit": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.cmpv2OrganizationalUnit }}",
53       "location": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.cmpv2Location }}",
54       "cert_secret_name": "{{ .Values.cmpv2Config.global.platform.certServiceClient.secretName }}",
55       "keystore_password": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.keystorePassword }}",
56       "truststore_password": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.truststorePassword }}"
57     },
58   "truststore_merger":
59     {
60       "image_tag": "{{ .Values.global.tlsRepository }}/{{ .Values.cmpv2Config.global.platform.certPostProcessor.image }}"
61     }
62 }