blob: 12432f854d4b6778cc2b0d21f3256a82461bc818 [file] [log] [blame]
Jakub Latusekdf233a82020-10-21 13:36:29 +02001{{/*
BorislavG57f74d32018-04-12 11:08:39 +03002#============LICENSE_START========================================================
3#=================================================================================
Jack Lucasc6861312020-03-03 15:57:59 -05004# Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
Durgpal7ad40692018-08-03 07:28:36 +00005# Modifications Copyright © 2018 Amdocs, Bell Canada
Piotr Marcinkiewicza16144f2020-07-09 16:44:29 +02006# Modifications (c) 2020 Nokia. All rights reserved.
BorislavG57f74d32018-04-12 11:08:39 +03007# ================================================================================
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=========================================================
Jakub Latusekdf233a82020-10-21 13:36:29 +020020*/}}
BorislavG57f74d32018-04-12 11:08:39 +030021
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" . }}",
Jack Lucas0108b522019-03-19 11:38:42 -040025 "default_k8s_location" : "{{ .Values.default_k8s_location }}",
BorislavG57f74d32018-04-12 11:08:39 +030026 "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 }}",
Jack Lucasc70bc7e2019-09-23 09:02:31 -040034 "config_map" : "{{ include "common.release" . }}-dcae-filebeat-configmap"
Jack Lucas50fc0a32019-03-01 18:18:44 -050035 },
36 "tls":
37 {
Jack Lucasc70bc7e2019-09-23 09:02:31 -040038 "cert_path": "/opt/app/osaaf",
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000039 "image": "{{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}",
Jack Lucasc6861312020-03-03 15:57:59 -050040 "component_cert_dir": "/opt/dcae/cacert",
Vijay Venkatesh Kumara4535c92019-08-02 01:45:23 +000041 "component_ca_cert_path": "/opt/dcae/cacert/cacert.pem",
42 "ca_cert_configmap": "{{ include "common.fullname" . }}-dcae-cacert"
Piotr Marcinkiewicza16144f2020-07-09 16:44:29 +020043 },
44 "external_cert":
45 {
Maciej Malewski955e39d2020-08-27 10:43:09 +020046 "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 }}",
Jan Malkiewicz339a93d2020-09-02 08:31:32 +020054 "cert_secret_name": "{{ .Values.cmpv2Config.global.platform.certServiceClient.secretName }}",
Maciej Malewski955e39d2020-08-27 10:43:09 +020055 "keystore_password": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.keystorePassword }}",
56 "truststore_password": "{{ .Values.cmpv2Config.global.platform.certServiceClient.envVariables.truststorePassword }}"
Jan Malkiewicz339a93d2020-09-02 08:31:32 +020057 },
58 "truststore_merger":
59 {
60 "image_tag": "{{ .Values.global.tlsRepository }}/{{ .Values.cmpv2Config.global.platform.certPostProcessor.image }}"
BorislavG57f74d32018-04-12 11:08:39 +030061 }
62}