2 # ============LICENSE_START=======================================================
3 # Copyright (c) 2021 Bell Canada.
4 # Modifications Copyright © 2022-2023 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}
31 topic: {{ .Values.config.app.listener.dataUpdatedTopic }}
33 {{- with (first .Values.kafkaUser.acls) }}
34 spring.kafka.consumer.group-id: {{ .name }}
36 spring.kafka.bootstrap-servers: {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
37 spring.kafka.security.protocol: SASL_PLAINTEXT
38 spring.kafka.properties.sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
39 spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG}
41 {{- if .Values.config.additional }}
42 {{ toYaml .Values.config.additional | nindent 2 }}
47 username: ${APP_USERNAME}
48 password: ${APP_PASSWORD}
50 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.