blob: 1ac00c760ae8b282708c8fa6bca9651bbcf32903 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd2b9ed82019-12-10 17:15:28 -06002# Modifications Copyright © 2018-2020 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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
mayankg2703ced85142018-03-20 05:42:53 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
mayankg2703ced85142018-03-20 05:42:53 +000021 readinessRepository: oomk8s
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010022 readinessImage: readiness-check:2.0.2
mayankg2703ced85142018-03-20 05:42:53 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25 ubuntuImage: ubuntu:16.04
mayankg2703ced85142018-03-20 05:42:53 +000026 pdp:
27 nameOverride: pdp
28 pap:
k.kedron75da97d2020-03-10 16:09:06 +010029 nameOverride: pap
mayankg2703ced85142018-03-20 05:42:53 +000030 drools:
31 nameOverride: drools
32 brmwgw:
33 nameOverride: brmsgw
34 nexus:
35 nameOverride: nexus
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010036 mariadb:
37 # '&mariadbConfig' means we "store" the values for later use in the file
38 # with '*mariadbConfig' pointer.
39 config: &mariadbConfig
40 userName: policy_user
41 userPassword: policy_user
42 mariadbRootPassword: secret
43 mysqlDatabase: policyadmin
44 service: &mariadbService
45 name: policy-mariadb
46 portName: mysql-policy
47 internalPort: 3306
mayankg2703ced85142018-03-20 05:42:53 +000048
49#################################################################
50# Application configuration defaults.
51#################################################################
52# application image
53repository: nexus3.onap.org:10001
jhhd2b9ed82019-12-10 17:15:28 -060054image: onap/policy-pe:1.6.1
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010055mariadb_image: library/mariadb:10
kerenj3b697f62017-08-23 11:21:21 +000056pullPolicy: Always
Alexis de Talhouëtdf4db0b2017-12-11 08:36:25 -050057
mayankg2703ced85142018-03-20 05:42:53 +000058subChartsOnly:
59 enabled: true
BorislavG5f3b6192018-03-25 18:12:38 +030060
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010061pap:
62 nameOverride: pap
mayankg2703ced85142018-03-20 05:42:53 +000063pdp:
64 nameOverride: pdp
mayankg2703ced85142018-03-20 05:42:53 +000065drools:
66 nameOverride: drools
67brmwgw:
68 nameOverride: brmsgw
69nexus:
70 nameOverride: nexus
71
72# flag to enable debugging - application support required
73debugEnabled: false
74
75# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030076config:
Jorge Hernandez823691f2018-04-30 19:53:29 -050077 preloadPolicies: false
mayankg2703c7985462018-03-29 14:24:23 +000078 pdpPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +000079
80# default number of instances
81replicaCount: 1
82
83nodeSelector: {}
84
85affinity: {}
86
87# probe configuration parameters
88liveness:
89 initialDelaySeconds: 10
90 periodSeconds: 10
91 # necessary to disable liveness probe when setting breakpoints
92 # in debugger so K8s doesn't restart unresponsive container
93 enabled: true
94
95readiness:
96 initialDelaySeconds: 10
97 periodSeconds: 10
98
99service:
100 type: NodePort
101 name: pap
BorislavG1ffbd992018-04-24 07:56:27 +0000102 portName: pap
jhh59ce22d2019-05-14 17:59:36 -0500103 internalPort: 8443
mayankg2703ced85142018-03-20 05:42:53 +0000104 externalPort: 8443
105 nodePort: 19
jhh59ce22d2019-05-14 17:59:36 -0500106 internalPort2: 9091
mayankg2703ced85142018-03-20 05:42:53 +0000107 externalPort2: 9091
108 nodePort2: 18
109
110ingress:
111 enabled: false
112
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +0100113mariadb-galera:
114 # mariadb-galera.config and global.mariadb.config must be equals
115 config: *mariadbConfig
116 nameOverride: policy-mariadb
117 # mariadb-galera.service and global.mariadb.service must be equals
118 service: *mariadbService
119 replicaCount: 1
120 persistence:
121 enabled: true
122 mountSubPath: policy/maria/data
jhh63614942020-01-03 13:51:59 -0600123 externalConfig: |-
124 [mysqld]
125 lower_case_table_names = 1
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +0100126
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000127# Resource Limit flavor -By Default using small
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000128flavor: small
129# Segregation for Different environment (Small and Large)
130resources:
131 small:
132 limits:
133 cpu: 1
134 memory: 4Gi
135 requests:
136 cpu: 10m
137 memory: 1Gi
138 large:
139 limits:
140 cpu: 2
141 memory: 8Gi
142 requests:
143 cpu: 20m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000144 memory: 2Gi
Jorge Hernandezd128b202019-02-14 13:52:59 -0600145 unlimited: {}