blob: 47c0189c40e860ec559f6de3c5d17e394731695a [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
Mandeep Khinda1d123882018-03-27 01:26:59 +000023 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000024 readinessImage: readiness-check:2.0.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000025 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
ChrisC49931442020-02-19 09:45:54 +010027 persistence: {}
ChrisC019b59c2020-04-03 13:58:44 +020028 #AAF service
ChrisC49931442020-02-19 09:45:54 +010029 aafEnabled: true
ChrisC019b59c2020-04-03 13:58:44 +020030
Mandeep Khinda1d123882018-03-27 01:26:59 +000031#################################################################
32# Application configuration defaults.
33#################################################################
ChrisC49931442020-02-19 09:45:54 +010034
Mandeep Khinda1d123882018-03-27 01:26:59 +000035# application image
36repository: nexus3.onap.org:10001
statta2662cd82020-04-13 18:47:10 -040037image: onap/portal-sdk:3.2.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000038pullPolicy: Always
39
ChrisC49931442020-02-19 09:45:54 +010040#AAF local config
ChrisC53929942020-05-04 12:43:34 +020041aafURL: https://aaf-service:8100/authz/
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020042certInitializer:
43 nameOverride: portal-sdk-cert-initializer
ChrisC49931442020-02-19 09:45:54 +010044 aafDeployFqi: deployer@people.osaaf.org
45 aafDeployPass: demo123456!
46 fqdn: portal
47 fqi: portal@portal.onap.org
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020048 public_fqdn: portal.onap.org
ChrisC019b59c2020-04-03 13:58:44 +020049 cadi_latitude: "38.0"
50 cadi_longitude: "-72.0"
51 credsPath: /opt/app/osaaf/local
52 app_ns: org.osaaf.aaf
53 permission_user: 1000
54 permission_group: 999
ChrisC49931442020-02-19 09:45:54 +010055 keystoreFile: "org.onap.portal.p12"
56 truststoreFile: "org.onap.portal.trust.jks"
Krzysztof Opasiak09f52792020-05-21 23:49:45 +020057 aaf_add_config: >
58 /opt/app/aaf_config/bin/agent.sh;
59 /opt/app/aaf_config/bin/agent.sh local showpass \
60 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
ChrisC019b59c2020-04-03 13:58:44 +020061
Mandeep Khinda1d123882018-03-27 01:26:59 +000062# flag to enable debugging - application support required
63debugEnabled: false
64
65# default number of instances
66replicaCount: 1
67
68nodeSelector: {}
69
70affinity: {}
71
72# probe configuration parameters
73liveness:
74 initialDelaySeconds: 10
75 periodSeconds: 10
76 # necessary to disable liveness probe when setting breakpoints
77 # in debugger so K8s doesn't restart unresponsive container
78 enabled: true
79
80readiness:
81 initialDelaySeconds: 10
82 periodSeconds: 10
83
84service:
hb123fb53c6a32018-07-12 14:21:16 -040085 type: NodePort
Mandeep Khinda1d123882018-03-27 01:26:59 +000086 name: portal-sdk
BorislavG1ffbd992018-04-24 07:56:27 +000087 portName: portal-sdk
ChrisC49931442020-02-19 09:45:54 +010088 internalPort: 8443
89 externalPort: 8443
BorislavGcdbd3ab2018-07-17 08:42:23 +000090 nodePort: 12
Mandeep Khinda1d123882018-03-27 01:26:59 +000091
92mariadb:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000093 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +000094 name: portal-db
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000095widget:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000096 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +000097 name: portal-widget
Mandeep Khinda1d123882018-03-27 01:26:59 +000098cassandra:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +000099 service:
Mandeep Khinda1d123882018-03-27 01:26:59 +0000100 name: portal-cassandra
101 config:
102 cassandraUsername: root
103 cassandraPassword: Aa123456
Mandeep Khinda1d123882018-03-27 01:26:59 +0000104zookeeper:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000105 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000106 name: portal-zookeeper
107messageRouter:
Mandeep Khindaf8b8f072018-04-26 14:35:38 +0000108 service:
Mandeep Khinda454e2fd2018-04-06 03:03:24 +0000109 name: message-router
Mandeep Khinda1d123882018-03-27 01:26:59 +0000110
111ingress:
112 enabled: false
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100113 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000114 - baseaddr: portal-sdk
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100115 name: "portal-sdk"
ChrisC49931442020-02-19 09:45:54 +0100116 port: 8443
Lucjan Bryndzaac1080a2019-11-26 13:04:47 +0100117 config:
Sylvain Desbureaux105b3522020-05-06 15:23:16 +0200118 ssl: "redirect"
Mandeep Khinda1d123882018-03-27 01:26:59 +0000119
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000120# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000121flavor: small
122# Segregation for Different environment (Small and Large)
123resources:
124 small:
125 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100126 cpu: 600m
127 memory: 1.6Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000128 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100129 cpu: 10m
130 memory: 1.3Gi
Nishukumar75d48b92018-09-19 12:11:51 +0000131 large:
132 limits:
133 cpu: 8
134 memory: 20Gi
135 requests:
136 cpu: 4
137 memory: 10Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000138 unlimited: {}