[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / so / charts / so-request-db-adapter / resources / config / overrides / override.yaml
1 # Copyright © 2018 AT&T USA
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 # will be used as entry in DB to say SITE OFF/ON for healthcheck
15 server:
16     port: {{ index .Values.containerPort }}
17     tomcat:
18         max-threads: 50
19 ssl-enable: false
20 mso:
21   logPath: logs
22   site-name: localSite
23   config:
24     cadi: {{- include "cadi.keys" . | nindent 8}}
25   adapters:
26     requestDb:
27       auth: {{ include "helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
28       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
29 spring:
30   datasource:
31     hikari:
32       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
33       username: ${DB_USERNAME}
34       password: ${DB_PASSWORD}
35       driver-class-name: org.mariadb.jdbc.Driver
36       pool-name: reqdb-pool
37       registerMbeans: true
38   security:
39     usercredentials:
40     -
41       username: bpel
42       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
43       role: BPEL-Client
44     -
45       username: mso_admin
46       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
47       role: ACTUATOR
48 #Actuator
49 management:
50   context-path: /manage