Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / cps / components / cps-temporal / resources / config / application-helm.yml
1 {{/*
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
9
10 #       http://www.apache.org/licenses/LICENSE-2.0
11
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.
17 #
18 #  SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20 */}}
21
22 spring:
23   datasource:
24     url: jdbc:postgresql://{{ .Values.timescaledb.service.name }}:5432/{{ .Values.timescaledb.config.pgDatabase }}
25     username: ${DB_USERNAME}
26     password: ${DB_PASSWORD}
27
28 app:
29   listener:
30     data-updated:
31       topic: {{ .Values.config.app.listener.dataUpdatedTopic }}
32
33 {{- with (first .Values.kafkaUser.acls) }}
34 spring.kafka.consumer.group-id: {{ .name }}
35 {{- end }}
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}
40
41 {{- if .Values.config.additional }}
42 {{ toYaml .Values.config.additional | nindent 2 }}
43 {{- end }}
44
45 security:
46   auth:
47     username: ${APP_USERNAME}
48     password: ${APP_PASSWORD}
49
50 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.