blob: ad1e15673846b621bc32163e4d781a75f3e60156 [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:
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
ChrisC49931442020-02-19 09:45:54 +010025 persistence: {}
ChrisC019b59c2020-04-03 13:58:44 +020026 #AAF service
ChrisC49931442020-02-19 09:45:54 +010027 aafEnabled: true
Ondřej Šmalec7afb16f2020-04-08 12:31:29 +020028 aafAgentImage: onap/aaf/aaf_agent:2.1.20
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
Welch, Lorraine (lb2391)67785102019-09-18 13:41:36 -040036image: onap/portal-sdk:2.6.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000037pullPolicy: Always
38
ChrisC49931442020-02-19 09:45:54 +010039#AAF local config
ChrisC019b59c2020-04-03 13:58:44 +020040aafURL: https://aaf-service:8100/
ChrisC49931442020-02-19 09:45:54 +010041aafConfig:
42 aafDeployFqi: deployer@people.osaaf.org
43 aafDeployPass: demo123456!
44 fqdn: portal
45 fqi: portal@portal.onap.org
46 publicFqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020047 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-sdk-aaf-deploy-creds
ChrisC49931442020-02-19 09:45:54 +010055 keystoreFile: "org.onap.portal.p12"
56 truststoreFile: "org.onap.portal.trust.jks"
57
ChrisC019b59c2020-04-03 13:58:44 +020058secrets:
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# flag to enable debugging - application support required
67debugEnabled: false
68
69# default number of instances
70replicaCount: 1
71
72nodeSelector: {}
73
74affinity: {}
75
76# probe configuration parameters
77liveness:
78 initialDelaySeconds: 10
79 periodSeconds: 10
80 # necessary to disable liveness probe when setting breakpoints
81 # in debugger so K8s doesn't restart unresponsive container
82 enabled: true
83
84readiness:
85 initialDelaySeconds: 10
86 periodSeconds: 10
87
88service:
hb123fb53c6a32018-07-12 14:21:16 -040089 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +000090 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +000091 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +010092 internalPort: 8443
93 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +000094 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +000095
96mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000097 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000098 name: portal-db
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000099widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000100 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000101 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000102cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000103 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000104 name: portal-cassandra
105 config:
106 cassandraUsername: root
107 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000108zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000109 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000110 name: portal-zookeeper
111messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000112 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000113 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000114
115ingress:
116 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100117 service:
118 - baseaddr: portalsdk
119 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100120 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100121 config:
122 ssl: "none"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000123
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000124# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000125flavor: small
126# Segregation for Different environment (Small and Large)
127resources:
128 small:
129 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100130 cpu: 600m
131 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000132 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100133 cpu: 10m
134 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000135 large:
136 limits:
137 cpu: 8
138 memory: 20Gi
139 requests:
140 cpu: 4
141 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000142 unlimited: {}