blob: 70a2e3e855abee74d6312dfabb30166a78bc7d5f [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd2b9ed82019-12-10 17:15:28 -06002# Modifications Copyright © 2018-2020 AT&T
mayankg2703ced85142018-03-20 05:42:53 +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
mayankg2703ced85142018-03-20 05:42:53 +000021 readinessRepository: oomk8s
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010022 readinessImage: readiness-check:2.0.2
Krzysztof Opasiak98a79cc2020-04-01 22:33:58 +020023 envsubstImage: dibi/envsubst
mayankg2703ced85142018-03-20 05:42:53 +000024
25#################################################################
Krzysztof Opasiak44088f92020-04-01 00:28:14 +020026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: db-secret
30 type: basicAuth
31 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
32 login: '{{ .Values.db.user }}'
33 password: '{{ .Values.db.password }}'
34 passwordPolicy: required
Dominik Mizynd1943c02020-04-16 10:41:01 +020035 - uid: pdp-http-creds
36 type: basicAuth
37 externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}'
38 login: '{{ .Values.pdp.pdphttpuserid }}'
39 password: '{{ .Values.pdp.pdphttppassword }}'
40 passwordPolicy: required
41 - uid: pap-http-creds
42 type: basicAuth
43 externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}'
44 login: '{{ .Values.pap.pdppappdphttpuserid }}'
45 password: '{{ .Values.pap.pdppappdphttppassword }}'
46 passwordPolicy: required
47 - uid: nexus-creds
48 type: basicAuth
49 externalSecret: '{{ tpl (default "" .Values.nexus.nexusCredsExternalSecret) . }}'
50 login: '{{ .Values.nexus.repositoryUsername }}'
51 password: '{{ .Values.nexus.repositoryPassword }}'
52 passwordPolicy: required
Krzysztof Opasiak44088f92020-04-01 00:28:14 +020053
54#################################################################
mayankg2703ced85142018-03-20 05:42:53 +000055# Application configuration defaults.
56#################################################################
57# application image
58repository: nexus3.onap.org:10001
jhh080016d2020-05-22 09:59:49 -050059image: onap/policy-pe:1.6.4
mayankg2703ced85142018-03-20 05:42:53 +000060pullPolicy: Always
61
62# flag to enable debugging - application support required
63debugEnabled: false
64
65# application configuration
mayankg2703c7985462018-03-29 14:24:23 +000066config:
67 papPort: 9091
68 pdpPort: 8081
69 nexusPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +000070
Krzysztof Opasiak44088f92020-04-01 00:28:14 +020071db:
72 user: policy_user
73 password: policy_user
Dominik Mizynd1943c02020-04-16 10:41:01 +020074pdp:
75 pdphttpuserid: testpdp
76 pdphttppassword: alpha123
77pap:
78 pdppappdphttpuserid: testpap
79 pdppappdphttppassword: alpha123
80nexus:
81 repositoryUsername: admin
82 repositoryPassword: admin123
Krzysztof Opasiak44088f92020-04-01 00:28:14 +020083
mayankg2703ced85142018-03-20 05:42:53 +000084# default number of instances
85replicaCount: 1
86
87nodeSelector: {}
88
89affinity: {}
90
91# probe configuration parameters
92liveness:
93 initialDelaySeconds: 10
94 periodSeconds: 10
95 # necessary to disable liveness probe when setting breakpoints
96 # in debugger so K8s doesn't restart unresponsive container
97 enabled: false
98
99readiness:
100 initialDelaySeconds: 30
101 periodSeconds: 10
102
103service:
jhh59ce22d2019-05-14 17:59:36 -0500104 type: ClusterIP
mayankg2703ced85142018-03-20 05:42:53 +0000105 name: brmsgw
BorislavG1ffbd992018-04-24 07:56:27 +0000106 portName: brmsgw
mayankg2703ced85142018-03-20 05:42:53 +0000107 externalPort: 9989
jhh59ce22d2019-05-14 17:59:36 -0500108 internalPort: 9989
mayankg2703ced85142018-03-20 05:42:53 +0000109 nodePort: 16
110
111
112ingress:
113 enabled: false
114
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000115# Resource Limit flavor -By Default using small
116flavor: small
117# Segregation for Different environment (Small and Large)
118resources:
119 small:
120 limits:
121 cpu: 1
122 memory: 2Gi
123 requests:
124 cpu: 10m
125 memory: 0.5Gi
126 large:
127 limits:
128 cpu: 2
129 memory: 4Gi
130 requests:
131 cpu: 20m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 memory: 1Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500133 unlimited: {}