blob: bf02948a7a5f930955d0b9aa6baf40b8d161d3d7 [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
ChrisC019b59c2020-04-03 13:58:44 +020026 #AAF service
27 aafEnabled: true
Mandeep Khinda1d123882018-03-27 01:26:59 +000028
29#################################################################
30# Application configuration defaults.
31#################################################################
ChrisC019b59c2020-04-03 13:58:44 +020032
Mandeep Khinda1d123882018-03-27 01:26:59 +000033# application image
34repository: nexus3.onap.org:10001
statta36547862020-05-27 16:06:27 -040035image: onap/portal-app:3.2.3
Mandeep Khinda1d123882018-03-27 01:26:59 +000036pullPolicy: Always
37
ChrisC019b59c2020-04-03 13:58:44 +020038#AAF local config
39
ChrisC53929942020-05-04 12:43:34 +020040aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020041certInitializer:
42 nameOverride: portal-app-cert-initializer
ChrisC019b59c2020-04-03 13:58:44 +020043 aafDeployFqi: deployer@people.osaaf.org
44 aafDeployPass: demo123456!
45 fqdn: portal
46 fqi: portal@portal.onap.org
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020047 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020048 cadi_latitude: "38.0"
49 cadi_longitude: "-72.0"
50 credsPath: /opt/app/osaaf/local
51 app_ns: org.osaaf.aaf
52 permission_user: 1000
53 permission_group: 999
ChrisC019b59c2020-04-03 13:58:44 +020054 keystoreFile: "org.onap.portal.p12"
55 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020056 aaf_add_config: >
57 /opt/app/aaf_config/bin/agent.sh;
58 /opt/app/aaf_config/bin/agent.sh local showpass \
59 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020060
Mandeep Khinda1d123882018-03-27 01:26:59 +000061# default number of instances
62replicaCount: 1
63
64nodeSelector: {}
65
66affinity: {}
67
68# probe configuration parameters
69liveness:
70 initialDelaySeconds: 10
71 periodSeconds: 10
72 # necessary to disable liveness probe when setting breakpoints
73 # in debugger so K8s doesn't restart unresponsive container
74 enabled: true
75
76readiness:
77 initialDelaySeconds: 10
78 periodSeconds: 10
79
80service:
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000081 type: LoadBalancer
Mandeep Khinda1d123882018-03-27 01:26:59 +000082 name: portal-app
BorislavG1ffbd992018-04-24 07:56:27 +000083 portName: portal-app
Mandeep Khinda1d123882018-03-27 01:26:59 +000084 externalPort: 8989
85 internalPort: 8080
86 nodePort: 15
87 externalPort2: 8006
88 internalPort2: 8005
89 nodePort2: 13
90 externalPort3: 8010
91 internalPort3: 8009
92 nodePort3: 14
st782sbd2c6122018-09-28 17:56:29 -040093 externalPort4: 8443
94 internalPort4: 8443
rootdaead432018-10-04 15:38:18 -040095 nodePort4: 25
Mandeep Khinda1d123882018-03-27 01:26:59 +000096
97mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000098 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000099 name: portal-db
100widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000101 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000102 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000103cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000104 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000105 name: portal-cassandra
106 config:
107 cassandraUsername: root
108 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000109zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000110 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000111 name: portal-zookeeper
112messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000113 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000114 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000115
116ingress:
117 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100118 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000119 - baseaddr: portal.api
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100120 name: "portal-app"
121 port: 8443
122 config:
123 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000124
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000125# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000126flavor: small
127# Segregation for Different environment (Small and Large)
128resources:
129 small:
130 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100131 cpu: 2.2
132 memory: 800Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000133 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100134 cpu: 30m
135 memory: 460Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000136 large:
137 limits:
138 cpu: 4
139 memory: 15Gi
140 requests:
141 cpu: 2
142 memory: 8Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000143 unlimited: {}