blob: b0d2f5d1cf8002d78acc5594cd45b114c2552124 [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:
20 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
ChrisC019b59c2020-04-03 13:58:44 +020025 #AAF service
26 aafEnabled: true
Ondřej Šmalec7afb16f2020-04-08 12:31:29 +020027 aafAgentImage: onap/aaf/aaf_agent:2.1.20
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
ChrisC98e52d22020-05-20 14:50:23 +020035image: onap/portal-app:3.2.2
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/
ChrisC019b59c2020-04-03 13:58:44 +020041aafConfig:
42 aafDeployFqi: deployer@people.osaaf.org
43 aafDeployPass: demo123456!
44 fqdn: portal
45 fqi: portal@portal.onap.org
46 publicFqdn: portal.onap.org
47 cadi_latitude: "38.0"
48 cadi_longitude: "-72.0"
49 credsPath: /opt/app/osaaf/local
50 app_ns: org.osaaf.aaf
51 permission_user: 1000
52 permission_group: 999
53 addconfig: true
54 secret_uid: &aaf_secret_uid portal-app-aaf-deploy-creds
55 keystoreFile: "org.onap.portal.p12"
56 truststoreFile: "org.onap.portal.trust.jks"
57
58secrets:
59 - uid: *aaf_secret_uid
60 type: basicAuth
61 externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
62 login: '{{ .Values.aafConfig.aafDeployFqi }}'
63 password: '{{ .Values.aafConfig.aafDeployPass }}'
64 passwordPolicy: required
65
Mandeep Khinda1d123882018-03-27 01:26:59 +000066# default number of instances
67replicaCount: 1
68
69nodeSelector: {}
70
71affinity: {}
72
73# probe configuration parameters
74liveness:
75 initialDelaySeconds: 10
76 periodSeconds: 10
77 # necessary to disable liveness probe when setting breakpoints
78 # in debugger so K8s doesn't restart unresponsive container
79 enabled: true
80
81readiness:
82 initialDelaySeconds: 10
83 periodSeconds: 10
84
85service:
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000086 type: LoadBalancer
Mandeep Khinda1d123882018-03-27 01:26:59 +000087 name: portal-app
BorislavG1ffbd992018-04-24 07:56:27 +000088 portName: portal-app
Mandeep Khinda1d123882018-03-27 01:26:59 +000089 externalPort: 8989
90 internalPort: 8080
91 nodePort: 15
92 externalPort2: 8006
93 internalPort2: 8005
94 nodePort2: 13
95 externalPort3: 8010
96 internalPort3: 8009
97 nodePort3: 14
st782sbd2c6122018-09-28 17:56:29 -040098 externalPort4: 8443
99 internalPort4: 8443
rootdaead432018-10-04 15:38:18 -0400100 nodePort4: 25
Mandeep Khinda1d123882018-03-27 01:26:59 +0000101
102mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000103 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000104 name: portal-db
105widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000106 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000107 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000108cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000109 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000110 name: portal-cassandra
111 config:
112 cassandraUsername: root
113 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000114zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000115 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000116 name: portal-zookeeper
117messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000118 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000119 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000120
121ingress:
122 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100123 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000124 - baseaddr: portal.api
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100125 name: "portal-app"
126 port: 8443
127 config:
128 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000129
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000131flavor: small
132# Segregation for Different environment (Small and Large)
133resources:
134 small:
135 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100136 cpu: 2.2
137 memory: 800Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000138 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100139 cpu: 30m
140 memory: 460Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000141 large:
142 limits:
143 cpu: 4
144 memory: 15Gi
145 requests:
146 cpu: 2
147 memory: 8Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000148 unlimited: {}