Merge "[OOM] Use cert-initializer truststore instead of hard-coded ONAP Root CA"
[oom.git] / kubernetes / cps / components / cps-temporal / resources / config / application-helm.yml
1 {{/*
2 # ============LICENSE_START=======================================================
3 #  Copyright (c) 2021 Bell Canada.
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
21 spring:
22   datasource:
23     url: jdbc:postgresql://{{ .Values.timescaledb.service.name }}:5432/{{ .Values.timescaledb.config.pgDatabase }}
24     username: ${DB_USERNAME}
25     password: ${DB_PASSWORD}
26   kafka:
27     bootstrap-servers: [{{ .Values.config.kafka.service }}:{{ .Values.config.kafka.port }}]
28     security:
29       protocol: {{ .Values.config.kafka.protocol }}
30     consumer:
31       group-id: {{ .Values.config.kafka.consumerGroupId }}
32
33 security:
34   auth:
35     username: ${APP_USERNAME}
36     password: ${APP_PASSWORD}
37
38 app:
39   listener:
40     data-updated:
41       topic: {{ .Values.config.kafka.listenerTopic }}
42
43 {{- if .Values.config.additional }}
44 {{ toYaml .Values.config.additional | nindent 2 }}
45 {{- end }}
46
47 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.