blob: 0b2f92bc80451db708333312cc582555152d15b8 [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,2019 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
mayankg2703ced85142018-03-20 05:42:53 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26#################################################################
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-secret
31 type: basicAuth
32 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
33 login: '{{ .Values.db.user }}'
34 password: '{{ .Values.db.password }}'
35 passwordPolicy: required
Dominik Mizyn165a22d2020-04-16 11:21:23 +020036 - uid: pdp-http-creds
37 type: basicAuth
38 externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}'
39 login: '{{ .Values.pdp.pdphttpuserid }}'
40 password: '{{ .Values.pdp.pdphttppassword }}'
41 passwordPolicy: required
42 - uid: pap-http-creds
43 type: basicAuth
44 externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}'
45 login: '{{ .Values.pap.pdppappdphttpuserid }}'
46 password: '{{ .Values.pap.pdppappdphttppassword }}'
47 passwordPolicy: required
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020048
49#################################################################
mayankg2703ced85142018-03-20 05:42:53 +000050# Application configuration defaults.
51#################################################################
52# application image
53repository: nexus3.onap.org:10001
jhh110657a2020-04-09 16:35:50 -050054image: onap/policy-pe:1.6.2
mayankg2703ced85142018-03-20 05:42:53 +000055pullPolicy: Always
56
57# flag to enable debugging - application support required
58debugEnabled: false
59
60# application configuration
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020061
62db:
63 user: policy_user
64 password: policy_user
Dominik Mizyn165a22d2020-04-16 11:21:23 +020065pdp:
66 pdphttpuserid: testpdp
67 pdphttppassword: alpha123
68pap:
69 pdppappdphttpuserid: testpap
70 pdppappdphttppassword: alpha123
Krzysztof Opasiake0784a92020-04-01 00:46:48 +020071
mayankg2703c7985462018-03-29 14:24:23 +000072config:
73 papPort: 9091
mayankg2703ced85142018-03-20 05:42:53 +000074
75# default number of instances
Jorge Hernandezd9f75452018-06-04 11:18:52 -050076replicaCount: 1
mayankg2703ced85142018-03-20 05:42:53 +000077
78nodeSelector: {}
79
80affinity: {}
81
82# probe configuration parameters
83liveness:
84 initialDelaySeconds: 10
85 periodSeconds: 10
86 # necessary to disable liveness probe when setting breakpoints
87 # in debugger so K8s doesn't restart unresponsive container
88 enabled: true
89
90readiness:
91 initialDelaySeconds: 10
92 periodSeconds: 10
93
94service:
Jorge Hernandez4519ccc2018-05-09 08:50:59 -050095 type: ClusterIP
mayankg2703ced85142018-03-20 05:42:53 +000096 name: pdp
BorislavG1ffbd992018-04-24 07:56:27 +000097 portName: pdp
Jorge Hernandez4519ccc2018-05-09 08:50:59 -050098 internalPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +000099 externalPort: 8081
mayankg2703ced85142018-03-20 05:42:53 +0000100
101ingress:
102 enabled: false
103
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000104# Resource Limit flavor -By Default using small
105flavor: small
106# Segregation for Different environment (Small and Large)
107resources:
108 small:
109 limits:
110 cpu: 1
111 memory: 4Gi
112 requests:
113 cpu: 10m
114 memory: 1Gi
115 large:
116 limits:
117 cpu: 2
118 memory: 8Gi
119 requests:
120 cpu: 20m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000121 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500122 unlimited: {}