blob: 3f55f4a08e479ed31633f9c4d2fbaf8e12757a6e [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
ChrisC019b59c2020-04-03 13:58:44 +02002# Modifications Copyright © 2018,2020 AT&T
Mandeep Khinda1d123882018-03-27 01:26:59 +00003#
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#################################################################
17# Global configuration defaults.
18#################################################################
19global:
Krzysztof Opasiakeac587d2020-05-21 23:53:02 +020020 env:
21 tomcatDir: "/usr/local/tomcat"
Mandeep Khinda1d123882018-03-27 01:26:59 +000022 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020023 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khinda1d123882018-03-27 01:26:59 +000024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050026 envsubstImage: dibi/envsubst
ChrisC019b59c2020-04-03 13:58:44 +020027 #AAF service
28 aafEnabled: true
Mandeep Khinda1d123882018-03-27 01:26:59 +000029
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050030################################################################
31# Secrets metaconfig
32#################################################################
33
34secrets:
35 - uid: portal-cass
36 type: basicAuth
37 externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}'
38 login: '{{ .Values.cassandra.config.cassandraUsername }}'
39 password: '{{ .Values.cassandra.config.cassandraPassword }}'
40 passwordPolicy: required
41 - uid: cipher-enc-key
42 type: password
43 externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}'
44 password: '{{ .Values.config.cipherEncKey }}'
45 passwordPolicy: required
Sandeep Shahd6b989d2020-09-25 15:53:18 -050046 - uid: portal-backend-db
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
49 login: '{{ .Values.mariadb.config.backendUserName }}'
50 password: '{{ .Values.mariadb.config.backendPassword }}'
51 passwordPolicy: required
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050052
Mandeep Khinda1d123882018-03-27 01:26:59 +000053#################################################################
54# Application configuration defaults.
55#################################################################
ChrisC019b59c2020-04-03 13:58:44 +020056
Mandeep Khinda1d123882018-03-27 01:26:59 +000057# application image
58repository: nexus3.onap.org:10001
Sandeep Shah3d565522020-10-03 23:09:58 -050059image: onap/portal-app:3.4.1
Mandeep Khinda1d123882018-03-27 01:26:59 +000060pullPolicy: Always
61
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050062# application configuration
63config:
64 # cipherEncKeyExternalSecret: some secret
65 cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==!
66
ChrisC019b59c2020-04-03 13:58:44 +020067#AAF local config
68
ChrisC53929942020-05-04 12:43:34 +020069aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020070certInitializer:
71 nameOverride: portal-app-cert-initializer
ChrisC019b59c2020-04-03 13:58:44 +020072 aafDeployFqi: deployer@people.osaaf.org
73 aafDeployPass: demo123456!
74 fqdn: portal
75 fqi: portal@portal.onap.org
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020076 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020077 cadi_latitude: "38.0"
78 cadi_longitude: "-72.0"
79 credsPath: /opt/app/osaaf/local
80 app_ns: org.osaaf.aaf
81 permission_user: 1000
82 permission_group: 999
ChrisC019b59c2020-04-03 13:58:44 +020083 keystoreFile: "org.onap.portal.p12"
84 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020085 aaf_add_config: >
86 /opt/app/aaf_config/bin/agent.sh;
87 /opt/app/aaf_config/bin/agent.sh local showpass \
88 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020089
Mandeep Khinda1d123882018-03-27 01:26:59 +000090# default number of instances
91replicaCount: 1
92
93nodeSelector: {}
94
95affinity: {}
96
97# probe configuration parameters
98liveness:
99 initialDelaySeconds: 10
100 periodSeconds: 10
101 # necessary to disable liveness probe when setting breakpoints
102 # in debugger so K8s doesn't restart unresponsive container
103 enabled: true
104
105readiness:
106 initialDelaySeconds: 10
107 periodSeconds: 10
108
109service:
Mandeep Khinda789ee4a2018-04-30 20:20:45 +0000110 type: LoadBalancer
Mandeep Khinda1d123882018-03-27 01:26:59 +0000111 name: portal-app
BorislavG1ffbd992018-04-24 07:56:27 +0000112 portName: portal-app
Mandeep Khinda1d123882018-03-27 01:26:59 +0000113 externalPort: 8989
114 internalPort: 8080
115 nodePort: 15
116 externalPort2: 8006
117 internalPort2: 8005
118 nodePort2: 13
119 externalPort3: 8010
120 internalPort3: 8009
121 nodePort3: 14
st782sbd2c6122018-09-28 17:56:29 -0400122 externalPort4: 8443
123 internalPort4: 8443
rootdaead432018-10-04 15:38:18 -0400124 nodePort4: 25
Mandeep Khinda1d123882018-03-27 01:26:59 +0000125
126mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000127 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000128 name: portal-db
Sandeep Shahd6b989d2020-09-25 15:53:18 -0500129 config:
130 # backendDbExternalSecret: some secret
131 backendUserName: portal
132 backendPassword: portal
Mandeep Khinda1d123882018-03-27 01:26:59 +0000133widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000134 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000135 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000136cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000137 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000138 name: portal-cassandra
139 config:
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -0500140 # cassandraExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +0000141 cassandraUsername: root
142 cassandraPassword: Aa123456
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000143messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000144 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000145 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000146
147ingress:
148 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100149 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000150 - baseaddr: portal.api
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100151 name: "portal-app"
152 port: 8443
153 config:
154 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000155
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000156# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000157flavor: small
158# Segregation for Different environment (Small and Large)
159resources:
160 small:
161 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100162 cpu: 2.2
163 memory: 800Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000164 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100165 cpu: 30m
166 memory: 460Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000167 large:
168 limits:
169 cpu: 4
170 memory: 15Gi
171 requests:
172 cpu: 2
173 memory: 8Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000174 unlimited: {}