2 # Copyright (C) 2021 Pantheon.tech
3 # Modifications Copyright (C) 2020 Bell Canada.
4 # Modifications Copyright (C) 2021 Nordix Foundation.
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.
21 url: jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}
22 username: ${DB_USERNAME}
23 password: ${DB_PASSWORD}
24 driverClassName: org.postgresql.Driver
25 initialization-mode: always
28 change-log: classpath:changelog/changelog-master.yaml
29 labels: {{ .Values.config.liquibaseLabels }}
32 # comma-separated uri patterns which do not require authorization
33 permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/api-docs
35 username: ${CPS_USERNAME}
36 password: ${CPS_PASSWORD}
40 springframework: {{ .Values.logging.level }}
44 username: ${DMI_USERNAME}
45 password: ${DMI_PASSWORD}
47 {{- if .Values.config.eventPublisher }}
48 {{ toYaml .Values.config.eventPublisher | nindent 2 }}
51 {{- if .Values.config.additional }}
52 {{ toYaml .Values.config.additional | nindent 2 }}
54 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.