2 # Copyright (C) 2021 Pantheon.tech
3 # Modifications Copyright (C) 2020 Bell Canada.
4 # Modifications Copyright (C) 2021-2023 Nordix Foundation.
5 # Modifications Copyright (C) 2021 Orange
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
22 {{- if .Values.global.postgres.localCluster }}
23 url: jdbc:postgresql://{{ .Values.postgres.service.name2 }}:{{ .Values.postgres.service.externalPort2 }}/{{ .Values.postgres.config.pgDatabase }}
25 url: jdbc:postgresql://{{ .Values.global.postgres.service.name2 }}:{{ .Values.global.postgres.service.externalPort2 }}/{{ .Values.postgres.config.pgDatabase }}
27 username: ${DB_USERNAME}
28 password: ${DB_PASSWORD}
29 driverClassName: org.postgresql.Driver
30 initialization-mode: always
32 change-log: classpath:changelog/changelog-master.yaml
33 labels: {{ .Values.config.liquibaseLabels }}
40 # comma-separated uri patterns which do not require authorization
41 permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/**
43 username: ${CPS_USERNAME}
44 password: ${CPS_PASSWORD}
49 springframework: {{ .Values.logging.level }}
54 username: ${DMI_USERNAME}
55 password: ${DMI_PASSWORD}
57 {{- with (first .Values.kafkaUser.acls) }}
58 spring.kafka.consumer.group-id: {{ .name }}
60 spring.kafka.bootstrap-servers: {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
61 spring.kafka.security.protocol: SASL_PLAINTEXT
62 spring.kafka.properties.sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
63 spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG}
66 {{- if .Values.topics.config }}
67 {{ toYaml .Values.topics.config | nindent 2 }}
70 {{- if .Values.config.additional }}
71 {{ toYaml .Values.config.additional | nindent 2 }}
74 # Custom Hazelcast config.
78 enabled: {{ .Values.hazelcast.config.kubernetesDiscovery }}
79 service-name: {{ .Values.hazelcast.config.kubernetesServiceName }}
81 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.