blob: 9564723b171a13bc001804dcc7ff095cf9924b36 [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
Mandeep Khinda1d123882018-03-27 01:26:59 +000023 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000024 readinessImage: readiness-check:2.0.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000025 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
ChrisC019b59c2020-04-03 13:58:44 +020027 #AAF service
28 aafEnabled: true
Mandeep Khinda1d123882018-03-27 01:26:59 +000029
30#################################################################
31# Application configuration defaults.
32#################################################################
ChrisC019b59c2020-04-03 13:58:44 +020033
Mandeep Khinda1d123882018-03-27 01:26:59 +000034# application image
35repository: nexus3.onap.org:10001
statta36547862020-05-27 16:06:27 -040036image: onap/portal-app:3.2.3
Mandeep Khinda1d123882018-03-27 01:26:59 +000037pullPolicy: Always
38
ChrisC019b59c2020-04-03 13:58:44 +020039#AAF local config
40
ChrisC53929942020-05-04 12:43:34 +020041aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020042certInitializer:
43 nameOverride: portal-app-cert-initializer
ChrisC019b59c2020-04-03 13:58:44 +020044 aafDeployFqi: deployer@people.osaaf.org
45 aafDeployPass: demo123456!
46 fqdn: portal
47 fqi: portal@portal.onap.org
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020048 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020049 cadi_latitude: "38.0"
50 cadi_longitude: "-72.0"
51 credsPath: /opt/app/osaaf/local
52 app_ns: org.osaaf.aaf
53 permission_user: 1000
54 permission_group: 999
ChrisC019b59c2020-04-03 13:58:44 +020055 keystoreFile: "org.onap.portal.p12"
56 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak57ec3382020-05-21 19:06:42 +020057 aaf_add_config: >
58 /opt/app/aaf_config/bin/agent.sh;
59 /opt/app/aaf_config/bin/agent.sh local showpass \
60 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020061
Mandeep Khinda1d123882018-03-27 01:26:59 +000062# default number of instances
63replicaCount: 1
64
65nodeSelector: {}
66
67affinity: {}
68
69# probe configuration parameters
70liveness:
71 initialDelaySeconds: 10
72 periodSeconds: 10
73 # necessary to disable liveness probe when setting breakpoints
74 # in debugger so K8s doesn't restart unresponsive container
75 enabled: true
76
77readiness:
78 initialDelaySeconds: 10
79 periodSeconds: 10
80
81service:
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000082 type: LoadBalancer
Mandeep Khinda1d123882018-03-27 01:26:59 +000083 name: portal-app
BorislavG1ffbd992018-04-24 07:56:27 +000084 portName: portal-app
Mandeep Khinda1d123882018-03-27 01:26:59 +000085 externalPort: 8989
86 internalPort: 8080
87 nodePort: 15
88 externalPort2: 8006
89 internalPort2: 8005
90 nodePort2: 13
91 externalPort3: 8010
92 internalPort3: 8009
93 nodePort3: 14
st782sbd2c6122018-09-28 17:56:29 -040094 externalPort4: 8443
95 internalPort4: 8443
rootdaead432018-10-04 15:38:18 -040096 nodePort4: 25
Mandeep Khinda1d123882018-03-27 01:26:59 +000097
98mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000099 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000100 name: portal-db
101widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000102 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000103 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000104cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000105 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000106 name: portal-cassandra
107 config:
108 cassandraUsername: root
109 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000110zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000111 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000112 name: portal-zookeeper
113messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000114 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000115 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000116
117ingress:
118 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100119 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000120 - baseaddr: portal.api
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100121 name: "portal-app"
122 port: 8443
123 config:
124 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000125
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000126# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000127flavor: small
128# Segregation for Different environment (Small and Large)
129resources:
130 small:
131 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100132 cpu: 2.2
133 memory: 800Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000134 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100135 cpu: 30m
136 memory: 460Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000137 large:
138 limits:
139 cpu: 4
140 memory: 15Gi
141 requests:
142 cpu: 2
143 memory: 8Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000144 unlimited: {}