blob: 459767e13f4305b3f40394b168dababacf42e2a3 [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
jhh999c2242021-02-24 12:10:02 -06002# Modifications Copyright © 2018-2021 AT&T Intellectual Property
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
jhh01096592019-09-04 07:47:25 -050021
mayankg2703ced85142018-03-20 05:42:53 +000022#################################################################
Krzysztof Opasiak68b1c922020-03-26 23:59:36 +010023# Secrets metaconfig
24#################################################################
25secrets:
26 - uid: db-secret
27 type: basicAuth
28 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
29 login: '{{ .Values.db.user }}'
30 password: '{{ .Values.db.password }}'
31 passwordPolicy: required
32
33#################################################################
mayankg2703ced85142018-03-20 05:42:53 +000034# Application configuration defaults.
35#################################################################
36# application image
jhh999c2242021-02-24 12:10:02 -060037image: onap/policy-pdpd-cl:1.8.0
mayankg2703ced85142018-03-20 05:42:53 +000038pullPolicy: Always
39
40# flag to enable debugging - application support required
41debugEnabled: false
42
mayankg2703ced85142018-03-20 05:42:53 +000043# default number of instances
Jorge Hernandezd9f75452018-06-04 11:18:52 -050044replicaCount: 1
mayankg2703ced85142018-03-20 05:42:53 +000045
46nodeSelector: {}
47
48affinity: {}
49
50# probe configuration parameters
51liveness:
Jorge Hernandez432aa312018-06-04 18:20:43 -050052 initialDelaySeconds: 180
mayankg2703ced85142018-03-20 05:42:53 +000053 periodSeconds: 10
54 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
Jorge Hernandez328eadb2018-05-15 07:52:21 -050056 enabled: true
mayankg2703ced85142018-03-20 05:42:53 +000057
58readiness:
Jorge Hernandezd9f75452018-06-04 11:18:52 -050059 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000060 periodSeconds: 10
61
62service:
jhh59ce22d2019-05-14 17:59:36 -050063 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050064 name: policy-drools-pdp
65 portName: policy-drools-pdp
jhh59ce22d2019-05-14 17:59:36 -050066 internalPort: 6969
mayankg2703ced85142018-03-20 05:42:53 +000067 externalPort: 6969
68 nodePort: 17
jhh59ce22d2019-05-14 17:59:36 -050069 internalPort2: 9696
mayankg2703ced85142018-03-20 05:42:53 +000070 externalPort2: 9696
71 nodePort2: 21
72
73ingress:
74 enabled: false
75
jhh01096592019-09-04 07:47:25 -050076# Default installation values to be overridden
77
jhhd4258672020-08-09 12:08:08 -050078certInitializer:
79 nameOverride: policy-drools-pdp-cert-initializer
80 aafDeployFqi: deployer@people.osaaf.org
81 aafDeployPass: demo123456!
82 fqdn: policy
83 fqi: policy@policy.onap.org
84 public_fqdn: policy.onap.org
85 cadi_latitude: "0.0"
86 cadi_longitude: "0.0"
87 credsPath: /opt/app/osaaf/local
88 app_ns: org.osaaf.aaf
89 uid: 1000
90 gid: 1000
91 aaf_add_config: >
92 /opt/app/aaf_config/bin/agent.sh;
93 export $(/opt/app/aaf_config/bin/agent.sh local showpass
94 {{ .Values.fqi }} {{ .Values.fqdn }} | grep "^cadi_keystore_password_p12");
95 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
96 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
97 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
98
jhh01096592019-09-04 07:47:25 -050099server:
jhhed6839f2020-05-08 12:28:27 -0500100 jvmOpts: -server -XshowSettings:vm
jhh01096592019-09-04 07:47:25 -0500101
102aaf:
jhh8534fea2019-09-20 14:35:20 -0500103 enabled: "false"
jhh01096592019-09-04 07:47:25 -0500104
105keystore:
106 password: Pol1cy_0nap
107
108truststore:
109 password: Pol1cy_0nap
110
111telemetry:
112 user: demo@people.osaaf.org
113 password: demo123456!
114
115nexus:
jhhd4258672020-08-09 12:08:08 -0500116 name: policy-nexus
117 port: 8081
jhh8534fea2019-09-20 14:35:20 -0500118 user: admin
jhh01096592019-09-04 07:47:25 -0500119 password: admin123
jhhd2b9ed82019-12-10 17:15:28 -0600120 offline: true
jhh01096592019-09-04 07:47:25 -0500121
122db:
jhhd4258672020-08-09 12:08:08 -0500123 name: policy-mariadb
jhh01096592019-09-04 07:47:25 -0500124 user: policy_user
125 password: policy_user
126
127pap:
128 user: healthcheck
129 password: zb!XztG34
130
131pdp:
132 user: healthcheck
133 password: zb!XztG34
134
jhhdf5484e2020-04-06 15:08:35 -0500135papl:
136 user: testpap
137 password: alpha123
138
139pdpl:
140 user: testpdp
141 password: alpha123
142
jhh01096592019-09-04 07:47:25 -0500143aai:
144 user: policy@policy.onap.org
145 password: demo123456!
146
147so:
148 user: InfraPortalClient
149 password: password1$
150
151vfc:
152 user:
153 password:
154
155sdnc:
156 user: admin
157 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
158
159dmaap:
160 brmsgw:
161 key:
162 password:
163 pap:
164 key:
165 password:
166
Rashmi Pujar3cfa4cc2019-10-17 16:05:50 -0400167cds:
168 grpc:
169 user: ccsdkapps
170 password: ccsdkapps
171 svcName: cds-blueprints-processor-grpc
172 svcPort: 9111
173
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000174# Resource Limit flavor -By Default using small
jhhd4258672020-08-09 12:08:08 -0500175# Segregation for Different environment (small, large, or unlimited)
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000176flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000177resources:
178 small:
179 limits:
180 cpu: 1
181 memory: 4Gi
182 requests:
183 cpu: 100m
184 memory: 1Gi
185 large:
186 limits:
187 cpu: 2
188 memory: 8Gi
189 requests:
190 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000191 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500192 unlimited: {}