[HOLMES] Bumped the version of holmes-rule-mgmt
[oom.git] / kubernetes / cps / components / cps-core / resources / config / application-helm.yml
1 {{/*
2 #  Copyright (C) 2021 Pantheon.tech
3 #  Modifications Copyright (C) 2020 Bell Canada.
4 #  Modifications Copyright (C) 2021 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
19 spring:
20   datasource:
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
26
27   liquibase:
28     change-log: classpath:changelog/changelog-master.yaml
29     labels: {{ .Values.config.liquibaseLabels }}
30
31 security:
32     # comma-separated uri patterns which do not require authorization
33     permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/api-docs
34     auth:
35         username: ${CPS_USERNAME}
36         password: ${CPS_PASSWORD}
37 logging:
38   level:
39     org:
40       springframework: {{ .Values.logging.level }}
41
42 dmi:
43   auth:
44     username: ${DMI_USERNAME}
45     password: ${DMI_PASSWORD}
46
47 {{- if .Values.config.eventPublisher }}
48 {{ toYaml .Values.config.eventPublisher | nindent 2 }}
49 {{- end }}
50
51 {{- if .Values.config.additional }}
52 {{ toYaml .Values.config.additional | nindent 2 }}
53 {{- end }}
54 # Last empty line is required otherwise the last property will be missing from application.yml file in the pod.
55