[MSB] Use log template
[oom.git] / kubernetes / portal / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018, 2020 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 global:
17   env:
18     tomcatDir: "/usr/local/tomcat"
19   # portal frontend port
20   portalPort: "8989"
21   portalFEPort: "30225"
22   # application's front end hostname.  Must be resolvable on the client side environment
23   portalHostName: "portal.api.simpledemo.onap.org"
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: portal-cass
30     name: &dbSecretName '{{ include "common.release" . }}-portal-cass-creds'
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.config.casandraCredsExternalSecret) . }}'
33     login: '{{ .Values.config.cassandraUsername }}'
34     password: '{{ .Values.config.cassandraPassword }}'
35   - uid: portal-backend-db
36     name: &backendDbSecretName '{{ include "common.release" . }}-portal-backend-creds'
37     type: basicAuth
38     externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
39     login: '{{ .Values.mariadb.config.backendUserName }}'
40     password: '{{ .Values.mariadb.config.backendPassword }}'
41     passwordPolicy: required
42
43 config:
44   logstashServiceName: log-ls
45   logstashPort: 5044
46   cassandraUsername: root
47   cassandraPassword: Aa123456
48 # casandraCredsExternalSecret: some secret
49
50 portal-mariadb:
51   nameOverride: portal-db
52 mariadb:
53   service:
54     name: portal-db
55   config:
56 #   backendDbExternalSecret: some secret
57     backendUserName: portal
58     backendPassword: portal
59
60 widget:
61   service:
62     name: portal-widget
63 cassandra:
64   service:
65     name: portal-cassandra
66   config:
67     cassandraExternalSecret: *dbSecretName
68 portal-app:
69   mariadb:
70     config:
71       backendDbExternalSecret: *backendDbSecretName
72   cassandra:
73     config:
74       cassandraExternalSecret: *dbSecretName
75 portal-sdk:
76   mariadb:
77     config:
78       backendDbExternalSecret: *backendDbSecretName
79   cassandra:
80     config:
81       cassandraExternalSecret: *dbSecretName
82 messageRouter:
83   service:
84     name: message-router
85 ingress:
86   enabled: false