2 # Copyright (C) 2021 Pantheon.tech
3 # Modifications Copyright (C) 2020 Bell Canada.
4 # Modifications Copyright (C) 2021 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
33 change-log: classpath:changelog/changelog-master.yaml
34 labels: {{ .Values.config.liquibaseLabels }}
37 # comma-separated uri patterns which do not require authorization
38 permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/api-docs
40 username: ${CPS_USERNAME}
41 password: ${CPS_PASSWORD}
45 springframework: {{ .Values.logging.level }}
49 username: ${DMI_USERNAME}
50 password: ${DMI_PASSWORD}
52 {{- if .Values.config.eventPublisher }}
53 {{ toYaml .Values.config.eventPublisher | nindent 2 }}
56 {{- if .Values.config.additional }}
57 {{ toYaml .Values.config.additional | nindent 2 }}
59 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.