blob: 11ce5a6e4296f2fc76648a523128f4ff672f83ea [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
ChrisC49931442020-02-19 09:45:54 +010023 persistence: {}
ChrisC019b59c2020-04-03 13:58:44 +020024 #AAF service
ChrisC49931442020-02-19 09:45:54 +010025 aafEnabled: true
ChrisC019b59c2020-04-03 13:58:44 +020026
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050027################################################################
28# Secrets metaconfig
29#################################################################
30
31secrets:
32 - uid: portal-cass
33 type: basicAuth
34 externalSecret: '{{ tpl (default "" .Values.cassandra.config.cassandraExternalSecret) . }}'
35 login: '{{ .Values.cassandra.config.cassandraUsername }}'
36 password: '{{ .Values.cassandra.config.cassandraPassword }}'
37 passwordPolicy: required
Sandeep Shahd6b989d2020-09-25 15:53:18 -050038 - uid: portal-backend-db
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
41 login: '{{ .Values.mariadb.config.backendUserName }}'
42 password: '{{ .Values.mariadb.config.backendPassword }}'
43 passwordPolicy: required
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050044 - uid: cipher-enc-key
45 type: password
46 externalSecret: '{{ .Values.config.cipherEncKeyExternalSecret}}'
47 password: '{{ .Values.config.cipherEncKey }}'
48 passwordPolicy: required
49
Mandeep Khinda1d123882018-03-27 01:26:59 +000050#################################################################
51# Application configuration defaults.
52#################################################################
ChrisC49931442020-02-19 09:45:54 +010053
Mandeep Khinda1d123882018-03-27 01:26:59 +000054# application image
Sandeep Shahe614fd32020-10-30 10:34:08 -050055image: onap/portal-sdk:3.4.2
Mandeep Khinda1d123882018-03-27 01:26:59 +000056pullPolicy: Always
57
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -050058# application configuration
59config:
60 # cipherEncKeyExternalSecret: some secret
61 cipherEncKey: AGLDdG4D04BKm2IxIWEr8o==
62
63
ChrisC49931442020-02-19 09:45:54 +010064#AAF local config
ChrisC53929942020-05-04 12:43:34 +020065aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020066certInitializer:
67 nameOverride: portal-sdk-cert-initializer
ChrisC49931442020-02-19 09:45:54 +010068 aafDeployFqi: deployer@people.osaaf.org
69 aafDeployPass: demo123456!
70 fqdn: portal
71 fqi: portal@portal.onap.org
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020072 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020073 cadi_latitude: "38.0"
74 cadi_longitude: "-72.0"
75 credsPath: /opt/app/osaaf/local
76 app_ns: org.osaaf.aaf
77 permission_user: 1000
78 permission_group: 999
ChrisC49931442020-02-19 09:45:54 +010079 keystoreFile: "org.onap.portal.p12"
80 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020081 aaf_add_config: >
82 /opt/app/aaf_config/bin/agent.sh;
83 /opt/app/aaf_config/bin/agent.sh local showpass \
84 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020085
Mandeep Khinda1d123882018-03-27 01:26:59 +000086# flag to enable debugging - application support required
87debugEnabled: false
88
89# default number of instances
90replicaCount: 1
91
92nodeSelector: {}
93
94affinity: {}
95
96# probe configuration parameters
97liveness:
98 initialDelaySeconds: 10
99 periodSeconds: 10
100 # necessary to disable liveness probe when setting breakpoints
101 # in debugger so K8s doesn't restart unresponsive container
102 enabled: true
103
104readiness:
105 initialDelaySeconds: 10
106 periodSeconds: 10
107
108service:
hb123fb53c6a32018-07-12 14:21:16 -0400109 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +0000110 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +0000111 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +0100112 internalPort: 8443
113 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +0000114 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +0000115
116mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000117 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000118 name: portal-db
Sandeep Shahd6b989d2020-09-25 15:53:18 -0500119 config:
120 # backendDbExternalSecret: some secret
121 backendUserName: portal
122 backendPassword: portal
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000123widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000124 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000125 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000126cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000127 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000128 name: portal-cassandra
129 config:
Sandeep Shah2ffb1ba2020-09-01 21:13:16 -0500130 # cassandraExternalSecret: some secret
Mandeep Khinda1d123882018-03-27 01:26:59 +0000131 cassandraUsername: root
132 cassandraPassword: Aa123456
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000133messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000134 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000135 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000136
137ingress:
138 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100139 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000140 - baseaddr: portal-sdk
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100141 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100142 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100143 config:
Sylvain Desbureaux105b3522020-05-06 15:23:16 +0200144 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000145
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000146# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000147flavor: small
148# Segregation for Different environment (Small and Large)
149resources:
150 small:
151 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100152 cpu: 600m
153 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000154 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100155 cpu: 10m
156 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000157 large:
158 limits:
159 cpu: 8
160 memory: 20Gi
161 requests:
162 cpu: 4
163 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000164 unlimited: {}