blob: 483a7f3568391f6f77b1039f658c0880b5e475a5 [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
ChrisC019b59c2020-04-03 13:58:44 +020023 #AAF service
24 aafEnabled: true
Mandeep Khinda1d123882018-03-27 01:26:59 +000025
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050026################################################################
27# Secrets metaconfig
28#################################################################
29
30secrets:
31 - uid: portal-cass
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}'
34 login: '{{ .Values.cassandra.config.cassandraUsername }}'
35 password: '{{ .Values.cassandra.config.cassandraPassword }}'
36 passwordPolicy: required
37 - uid: cipher-enc-key
38 type: password
39 externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}'
40 password: '{{ .Values.config.cipherEncKey }}'
41 passwordPolicy: required
Sandeep Shahd6b989d2020-09-25 15:53:18 -050042 - uid: portal-backend-db
43 type: basicAuth
44 externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
45 login: '{{ .Values.mariadb.config.backendUserName }}'
46 password: '{{ .Values.mariadb.config.backendPassword }}'
47 passwordPolicy: required
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050048
Mandeep Khinda1d123882018-03-27 01:26:59 +000049#################################################################
50# Application configuration defaults.
51#################################################################
ChrisC019b59c2020-04-03 13:58:44 +020052
Mandeep Khinda1d123882018-03-27 01:26:59 +000053# application image
Sandeep Shahe614fd32020-10-30 10:34:08 -050054image: onap/portal-app:3.4.2
Mandeep Khinda1d123882018-03-27 01:26:59 +000055pullPolicy: Always
56
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050057# application configuration
58config:
59 # cipherEncKeyExternalSecret: some secret
60 cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==!
61
ChrisC019b59c2020-04-03 13:58:44 +020062#AAF local config
63
ChrisC53929942020-05-04 12:43:34 +020064aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020065certInitializer:
66 nameOverride: portal-app-cert-initializer
ChrisC019b59c2020-04-03 13:58:44 +020067 aafDeployFqi: deployer@people.osaaf.org
68 aafDeployPass: demo123456!
69 fqdn: portal
70 fqi: portal@portal.onap.org
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020071 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020072 cadi_latitude: "38.0"
73 cadi_longitude: "-72.0"
74 credsPath: /opt/app/osaaf/local
75 app_ns: org.osaaf.aaf
76 permission_user: 1000
77 permission_group: 999
ChrisC019b59c2020-04-03 13:58:44 +020078 keystoreFile: "org.onap.portal.p12"
79 truststoreFile: "org.onap.portal.trust.jks"
Sylvain Desbureaux9b457ab2021-02-23 16:34:37 +010080 aaf_add_config: |
81 echo "cadi_truststore_password=$cadi_truststore_password" > {{ .Values.credsPath }}/mycreds.prop
82 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" >> {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020083
Mandeep Khinda1d123882018-03-27 01:26:59 +000084# default number of instances
85replicaCount: 1
86
87nodeSelector: {}
88
89affinity: {}
90
91# probe configuration parameters
92liveness:
93 initialDelaySeconds: 10
94 periodSeconds: 10
95 # necessary to disable liveness probe when setting breakpoints
96 # in debugger so K8s doesn't restart unresponsive container
97 enabled: true
98
99readiness:
100 initialDelaySeconds: 10
101 periodSeconds: 10
102
103service:
Mandeep Khinda789ee4a2018-04-30 20:20:45 +0000104 type: LoadBalancer
Mandeep Khinda1d123882018-03-27 01:26:59 +0000105 name: portal-app
BorislavG1ffbd992018-04-24 07:56:27 +0000106 portName: portal-app
Mandeep Khinda1d123882018-03-27 01:26:59 +0000107 externalPort: 8989
108 internalPort: 8080
109 nodePort: 15
110 externalPort2: 8006
111 internalPort2: 8005
112 nodePort2: 13
113 externalPort3: 8010
114 internalPort3: 8009
115 nodePort3: 14
st782sbd2c6122018-09-28 17:56:29 -0400116 externalPort4: 8443
117 internalPort4: 8443
rootdaead432018-10-04 15:38:18 -0400118 nodePort4: 25
Mandeep Khinda1d123882018-03-27 01:26:59 +0000119
120mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000121 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000122 name: portal-db
Sandeep Shahd6b989d2020-09-25 15:53:18 -0500123 config:
124 # backendDbExternalSecret: some secret
125 backendUserName: portal
126 backendPassword: portal
Mandeep Khinda1d123882018-03-27 01:26:59 +0000127widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000128 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000129 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000130cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000131 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000132 name: portal-cassandra
133 config:
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -0500134 # cassandraExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +0000135 cassandraUsername: root
136 cassandraPassword: Aa123456
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000137messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000138 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000139 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000140
141ingress:
142 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100143 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200144 - baseaddr: portal-ui
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100145 name: "portal-app"
146 port: 8443
Andreas Geissler51900a92022-08-03 13:10:35 +0200147 plain_port: 8080
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100148 config:
149 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000150
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000151# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000152flavor: small
153# Segregation for Different environment (Small and Large)
154resources:
155 small:
156 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100157 cpu: 2.2
158 memory: 800Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000159 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100160 cpu: 30m
161 memory: 460Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000162 large:
163 limits:
164 cpu: 4
165 memory: 15Gi
166 requests:
167 cpu: 2
168 memory: 8Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000169 unlimited: {}
Maciej Wereskid5d4a852021-11-15 15:19:11 +0100170
171# Log configuration
172log:
173 path: /var/log/onap
174logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
farida azmy31234fc2021-11-02 11:37:40 +0200175#Pods Service Account
176serviceAccount:
177 nameOverride: portal-app
178 roles:
179 - read