blob: 77ceb274d2d88832b8a0980d7b4a9cbd0a54411d [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
ChrisC019b59c2020-04-03 13:58:44 +020028
Mandeep Khinda1d123882018-03-27 01:26:59 +000029#################################################################
30# Application configuration defaults.
31#################################################################
ChrisC49931442020-02-19 09:45:54 +010032
Mandeep Khinda1d123882018-03-27 01:26:59 +000033# application image
34repository: nexus3.onap.org:10001
Welch, Lorraine (lb2391)67785102019-09-18 13:41:36 -040035image: onap/portal-sdk:2.6.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000036pullPolicy: Always
37
ChrisC49931442020-02-19 09:45:54 +010038#AAF local config
ChrisC019b59c2020-04-03 13:58:44 +020039aafURL: https://aaf-service:8100/
ChrisC49931442020-02-19 09:45:54 +010040aafConfig:
41 aafDeployFqi: deployer@people.osaaf.org
42 aafDeployPass: demo123456!
43 fqdn: portal
44 fqi: portal@portal.onap.org
45 publicFqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020046 cadi_latitude: "38.0"
47 cadi_longitude: "-72.0"
48 credsPath: /opt/app/osaaf/local
49 app_ns: org.osaaf.aaf
50 permission_user: 1000
51 permission_group: 999
52 addconfig: true
53 secret_uid: &aaf_secret_uid portal-sdk-aaf-deploy-creds
ChrisC49931442020-02-19 09:45:54 +010054 keystoreFile: "org.onap.portal.p12"
55 truststoreFile: "org.onap.portal.trust.jks"
56
ChrisC019b59c2020-04-03 13:58:44 +020057secrets:
58 - uid: *aaf_secret_uid
59 type: basicAuth
60 externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
61 login: '{{ .Values.aafConfig.aafDeployFqi }}'
62 password: '{{ .Values.aafConfig.aafDeployPass }}'
63 passwordPolicy: required
64
Mandeep Khinda1d123882018-03-27 01:26:59 +000065# flag to enable debugging - application support required
66debugEnabled: false
67
68# default number of instances
69replicaCount: 1
70
71nodeSelector: {}
72
73affinity: {}
74
75# probe configuration parameters
76liveness:
77 initialDelaySeconds: 10
78 periodSeconds: 10
79 # necessary to disable liveness probe when setting breakpoints
80 # in debugger so K8s doesn't restart unresponsive container
81 enabled: true
82
83readiness:
84 initialDelaySeconds: 10
85 periodSeconds: 10
86
87service:
hb123fb53c6a32018-07-12 14:21:16 -040088 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +000089 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +000090 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +010091 internalPort: 8443
92 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +000093 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +000094
95mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000096 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000097 name: portal-db
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000098widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000099 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000100 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000101cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000102 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000103 name: portal-cassandra
104 config:
105 cassandraUsername: root
106 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000107zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000108 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000109 name: portal-zookeeper
110messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000111 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000112 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000113
114ingress:
115 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100116 service:
117 - baseaddr: portalsdk
118 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100119 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100120 config:
121 ssl: "none"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000122
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000123# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000124flavor: small
125# Segregation for Different environment (Small and Large)
126resources:
127 small:
128 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100129 cpu: 600m
130 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000131 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100132 cpu: 10m
133 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000134 large:
135 limits:
136 cpu: 8
137 memory: 20Gi
138 requests:
139 cpu: 4
140 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000141 unlimited: {}