blob: ebe49e08c27a8d98b7f33508378501a0113ab9e9 [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: {}
ChrisC019b59c2020-04-03 13:58:44 +020027 #AAF service
ChrisC49931442020-02-19 09:45:54 +010028 aafEnabled: true
ChrisC019b59c2020-04-03 13:58:44 +020029
Mandeep Khinda1d123882018-03-27 01:26:59 +000030#################################################################
31# Application configuration defaults.
32#################################################################
ChrisC49931442020-02-19 09:45:54 +010033
Mandeep Khinda1d123882018-03-27 01:26:59 +000034# application image
35repository: nexus3.onap.org:10001
statta2662cd82020-04-13 18:47:10 -040036image: onap/portal-sdk:3.2.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000037pullPolicy: Always
38
ChrisC49931442020-02-19 09:45:54 +010039#AAF local config
ChrisC53929942020-05-04 12:43:34 +020040aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020041certInitializer:
42 nameOverride: portal-sdk-cert-initializer
ChrisC49931442020-02-19 09:45:54 +010043 aafDeployFqi: deployer@people.osaaf.org
44 aafDeployPass: demo123456!
45 fqdn: portal
46 fqi: portal@portal.onap.org
Krzysztof Opasiak09f52792020-05-21 23:49:45 +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
ChrisC49931442020-02-19 09:45:54 +010054 keystoreFile: "org.onap.portal.p12"
55 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak09f52792020-05-21 23:49:45 +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# flag to enable debugging - application support required
62debugEnabled: false
63
64# default number of instances
65replicaCount: 1
66
67nodeSelector: {}
68
69affinity: {}
70
71# probe configuration parameters
72liveness:
73 initialDelaySeconds: 10
74 periodSeconds: 10
75 # necessary to disable liveness probe when setting breakpoints
76 # in debugger so K8s doesn't restart unresponsive container
77 enabled: true
78
79readiness:
80 initialDelaySeconds: 10
81 periodSeconds: 10
82
83service:
hb123fb53c6a32018-07-12 14:21:16 -040084 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +000085 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +000086 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +010087 internalPort: 8443
88 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +000089 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +000090
91mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000092 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000093 name: portal-db
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000094widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000095 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000096 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +000097cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000098 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000099 name: portal-cassandra
100 config:
101 cassandraUsername: root
102 cassandraPassword: Aa123456
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000103messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000104 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000105 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000106
107ingress:
108 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100109 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000110 - baseaddr: portal-sdk
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100111 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100112 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100113 config:
Sylvain Desbureaux105b3522020-05-06 15:23:16 +0200114 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000115
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000116# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000117flavor: small
118# Segregation for Different environment (Small and Large)
119resources:
120 small:
121 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100122 cpu: 600m
123 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000124 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100125 cpu: 10m
126 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000127 large:
128 limits:
129 cpu: 8
130 memory: 20Gi
131 requests:
132 cpu: 4
133 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000134 unlimited: {}