blob: 34c29b5be15ba7a76b7463f240ca688deb68f5eb [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: {}
26 #AAF global config overrides
27 aafEnabled: true
28 aafAgentImage: onap/aaf/aaf_agent:2.1.15
29 aafAppNs: org.osaaf.aaf
30 aafLocatorContainer: oom
Mandeep Khinda1d123882018-03-27 01:26:59 +000031#################################################################
32# Application configuration defaults.
33#################################################################
ChrisC49931442020-02-19 09:45:54 +010034secrets:
35 - uid: aaf-deploy-creds
36 type: basicAuth
37 externalSecret: '{{ ternary (tpl (default "" .Values.aafConfig.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
38 login: '{{ .Values.aafConfig.aafDeployFqi }}'
39 password: '{{ .Values.aafConfig.aafDeployPass }}'
40 passwordPolicy: required
41
42## Persist cert data to a memory volume
43persistence:
44 aafCredsPath: /opt/app/osaaf/local
45
Mandeep Khinda1d123882018-03-27 01:26:59 +000046# application image
47repository: nexus3.onap.org:10001
Welch, Lorraine (lb2391)67785102019-09-18 13:41:36 -040048image: onap/portal-sdk:2.6.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000049pullPolicy: Always
50
ChrisC49931442020-02-19 09:45:54 +010051#AAF service
52aafURL: https://aaf-service:8100/
53aafLocateUrl: https://aaf-locate:8095
54
55#AAF local config
56aafConfig:
57 aafDeployFqi: deployer@people.osaaf.org
58 aafDeployPass: demo123456!
59 fqdn: portal
60 fqi: portal@portal.onap.org
61 publicFqdn: portal.onap.org
62 cadiLatitude: 0.0
63 cadiLongitude: 0.0
64 keystoreFile: "org.onap.portal.p12"
65 truststoreFile: "org.onap.portal.trust.jks"
66
Mandeep Khinda1d123882018-03-27 01:26:59 +000067# flag to enable debugging - application support required
68debugEnabled: false
69
70# default number of instances
71replicaCount: 1
72
73nodeSelector: {}
74
75affinity: {}
76
77# probe configuration parameters
78liveness:
79 initialDelaySeconds: 10
80 periodSeconds: 10
81 # necessary to disable liveness probe when setting breakpoints
82 # in debugger so K8s doesn't restart unresponsive container
83 enabled: true
84
85readiness:
86 initialDelaySeconds: 10
87 periodSeconds: 10
88
89service:
hb123fb53c6a32018-07-12 14:21:16 -040090 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +000091 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +000092 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +010093 internalPort: 8443
94 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +000095 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +000096
97mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000098 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000099 name: portal-db
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000100widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000101 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000102 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +0000103cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000104 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000105 name: portal-cassandra
106 config:
107 cassandraUsername: root
108 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000109zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000110 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000111 name: portal-zookeeper
112messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000113 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000114 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000115
116ingress:
117 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100118 service:
119 - baseaddr: portalsdk
120 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100121 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100122 config:
123 ssl: "none"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000124
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000125# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000126flavor: small
127# Segregation for Different environment (Small and Large)
128resources:
129 small:
130 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100131 cpu: 600m
132 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000133 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100134 cpu: 10m
135 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000136 large:
137 limits:
138 cpu: 8
139 memory: 20Gi
140 requests:
141 cpu: 4
142 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000143 unlimited: {}