shivasubedi | c615a89 | 2021-08-24 13:17:07 +0100 | [diff] [blame] | 1 | {{/* |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright (C) 2021 Nordix Foundation |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | */}} |
| 20 | |
Renu Kumari | bcacd77 | 2021-09-16 15:36:23 -0400 | [diff] [blame] | 21 | dmi: |
| 22 | service: |
DylanB95EST | 3b39ac8 | 2021-10-13 15:23:20 +0100 | [diff] [blame] | 23 | url: {{ .Values.config.dmiServiceUrl }} |
shivasubedi | c615a89 | 2021-08-24 13:17:07 +0100 | [diff] [blame] | 24 | |
| 25 | cps-core: |
Renu Kumari | bcacd77 | 2021-09-16 15:36:23 -0400 | [diff] [blame] | 26 | baseUrl: {{ .Values.config.cpsCore.url }} |
shivasubedi | c615a89 | 2021-08-24 13:17:07 +0100 | [diff] [blame] | 27 | auth: |
| 28 | username: ${CPS_CORE_USERNAME} |
| 29 | password: ${CPS_CORE_PASSWORD} |
| 30 | |
| 31 | sdnc: |
Renu Kumari | bcacd77 | 2021-09-16 15:36:23 -0400 | [diff] [blame] | 32 | baseUrl: {{ .Values.config.sdnc.url }} |
| 33 | topologyId: {{ .Values.config.sdnc.topologyId }} |
shivasubedi | c615a89 | 2021-08-24 13:17:07 +0100 | [diff] [blame] | 34 | auth: |
| 35 | username: ${SDNC_USERNAME} |
| 36 | password: ${SDNC_PASSWORD} |
| 37 | |
| 38 | security: |
| 39 | # comma-separated uri patterns which do not require authorization |
| 40 | permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs |
| 41 | auth: |
| 42 | username: ${DMI_PLUGIN_USERNAME} |
| 43 | password: ${DMI_PLUGIN_PASSWORD} |
| 44 | |
| 45 | logging: |
| 46 | level: |
| 47 | org: |
| 48 | springframework: {{ .Values.logging.level }} |
| 49 | onap: |
| 50 | cps: {{ .Values.logging.cps }} |
| 51 | |
mpriyank | 9d4d923 | 2023-04-13 16:27:25 +0100 | [diff] [blame] | 52 | {{- with (first .Values.kafkaUser.acls) }} |
| 53 | spring.kafka.consumer.group-id: {{ .name }} |
| 54 | {{- end }} |
mpriyank | 4743064 | 2023-02-23 10:29:02 +0000 | [diff] [blame] | 55 | spring.kafka.bootstrap-servers: {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092 |
| 56 | spring.kafka.security.protocol: SASL_PLAINTEXT |
mpriyank | 9d4d923 | 2023-04-13 16:27:25 +0100 | [diff] [blame] | 57 | spring.kafka.properties.sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }} |
mpriyank | 4743064 | 2023-02-23 10:29:02 +0000 | [diff] [blame] | 58 | spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG} |
| 59 | |
mpriyank | 6fc407d | 2023-04-21 15:24:10 +0100 | [diff] [blame] | 60 | # Kafka Topics |
| 61 | {{- if .Values.topics.config }} |
| 62 | {{ toYaml .Values.topics.config | nindent 2 }} |
| 63 | {{- end }} |
| 64 | |
shivasubedi | c615a89 | 2021-08-24 13:17:07 +0100 | [diff] [blame] | 65 | {{- if .Values.config.additional }} |
| 66 | {{ toYaml .Values.config.additional | nindent 2 }} |
| 67 | {{- end }} |
| 68 | |
| 69 | # Last empty line is required otherwise the last property will be missing from application.yml file in the pod. |