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