2 # ============LICENSE_START=======================================================
3 # Copyright (c) 2021 Bell Canada.
4 # Modifications Copyright © 2022 Nordix Foundation
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
10 # http://www.apache.org/licenses/LICENSE-2.0
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.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
24 url: jdbc:postgresql://{{ .Values.timescaledb.service.name }}:5432/{{ .Values.timescaledb.config.pgDatabase }}
25 username: ${DB_USERNAME}
26 password: ${DB_PASSWORD}
30 group-id: {{ .Values.config.kafka.consumer.groupId }}
35 topic: {{ .Values.config.app.listener.dataUpdatedTopic }}
37 {{- if .Values.config.useStrimziKafka }}
38 spring.kafka.bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
39 spring.kafka.security.protocol: SASL_PLAINTEXT
40 spring.kafka.properties.sasl.mechanism: SCRAM-SHA-512
41 spring.kafka.properties.sasl.jaas.config: ${JAASLOGIN}
43 {{ toYaml .Values.config.eventPublisher | nindent 2 }}
46 {{- if .Values.config.additional }}
47 {{ toYaml .Values.config.additional | nindent 2 }}
52 username: ${APP_USERNAME}
53 password: ${APP_PASSWORD}
55 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.