blob: dc27aaeb92341d198a1c04ebf3d2e8092d47600d [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
ChrisC49931442020-02-19 09:45:54 +01002# 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
ChrisC49931442020-02-19 09:45:54 +010026 persistence: {}
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050027 envsubstImage: dibi/envsubst
ChrisC019b59c2020-04-03 13:58:44 +020028 #AAF service
ChrisC49931442020-02-19 09:45:54 +010029 aafEnabled: true
ChrisC019b59c2020-04-03 13:58:44 +020030
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050031################################################################
32# Secrets metaconfig
33#################################################################
34
35secrets:
36 - uid: portal-cass
37 type: basicAuth
38 externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}'
39 login: '{{ .Values.cassandra.config.cassandraUsername }}'
40 password: '{{ .Values.cassandra.config.cassandraPassword }}'
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 - uid: cipher-enc-key
49 type: password
50 externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}'
51 password: '{{ .Values.config.cipherEncKey }}'
52 passwordPolicy: required
53
Mandeep Khinda1d123882018-03-27 01:26:59 +000054#################################################################
55# Application configuration defaults.
56#################################################################
ChrisC49931442020-02-19 09:45:54 +010057
Mandeep Khinda1d123882018-03-27 01:26:59 +000058# application image
59repository: nexus3.onap.org:10001
Sandeep Shahe614fd32020-10-30 10:34:08 -050060image: onap/portal-sdk:3.4.2
Mandeep Khinda1d123882018-03-27 01:26:59 +000061pullPolicy: Always
62
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050063# application configuration
64config:
65 # cipherEncKeyExternalSecret: some secret
66 cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==
67
68
ChrisC49931442020-02-19 09:45:54 +010069#AAF local config
ChrisC53929942020-05-04 12:43:34 +020070aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020071certInitializer:
72 nameOverride: portal-sdk-cert-initializer
ChrisC49931442020-02-19 09:45:54 +010073 aafDeployFqi: deployer@people.osaaf.org
74 aafDeployPass: demo123456!
75 fqdn: portal
76 fqi: portal@portal.onap.org
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020077 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020078 cadi_latitude: "38.0"
79 cadi_longitude: "-72.0"
80 credsPath: /opt/app/osaaf/local
81 app_ns: org.osaaf.aaf
82 permission_user: 1000
83 permission_group: 999
ChrisC49931442020-02-19 09:45:54 +010084 keystoreFile: "org.onap.portal.p12"
85 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020086 aaf_add_config: >
87 /opt/app/aaf_config/bin/agent.sh;
88 /opt/app/aaf_config/bin/agent.sh local showpass \
89 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020090
Mandeep Khinda1d123882018-03-27 01:26:59 +000091# flag to enable debugging - application support required
92debugEnabled: false
93
94# default number of instances
95replicaCount: 1
96
97nodeSelector: {}
98
99affinity: {}
100
101# probe configuration parameters
102liveness:
103 initialDelaySeconds: 10
104 periodSeconds: 10
105 # necessary to disable liveness probe when setting breakpoints
106 # in debugger so K8s doesn't restart unresponsive container
107 enabled: true
108
109readiness:
110 initialDelaySeconds: 10
111 periodSeconds: 10
112
113service:
hb123fb53c6a32018-07-12 14:21:16 -0400114 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +0000115 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +0000116 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +0100117 internalPort: 8443
118 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +0000119 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +0000120
121mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000122 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000123 name: portal-db
Sandeep Shahd6b989d2020-09-25 15:53:18 -0500124 config:
125 # backendDbExternalSecret: some secret
126 backendUserName: portal
127 backendPassword: portal
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000128widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000129 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000130 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000131cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000132 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000133 name: portal-cassandra
134 config:
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -0500135 # cassandraExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +0000136 cassandraUsername: root
137 cassandraPassword: Aa123456
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000138messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000139 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000140 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000141
142ingress:
143 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100144 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000145 - baseaddr: portal-sdk
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100146 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100147 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100148 config:
Sylvain Desbureaux105b3522020-05-06 15:23:16 +0200149 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: 600m
158 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000159 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100160 cpu: 10m
161 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000162 large:
163 limits:
164 cpu: 8
165 memory: 20Gi
166 requests:
167 cpu: 4
168 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000169 unlimited: {}