blob: 658fa65a31de3b304ef4d6e1dd844d4f60660f15 [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
jhh32367fc2021-03-10 13:10:47 -060037image: onap/policy-pdpd-cl:1.8.2
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
jhh32367fc2021-03-10 13:10:47 -060089 uid: 100
90 gid: 101
jhhd4258672020-08-09 12:08:08 -050091 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;
jhh32367fc2021-03-10 13:10:47 -060097 echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci;
jhhd4258672020-08-09 12:08:08 -050098 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
99
jhh01096592019-09-04 07:47:25 -0500100server:
jhhed6839f2020-05-08 12:28:27 -0500101 jvmOpts: -server -XshowSettings:vm
jhh01096592019-09-04 07:47:25 -0500102
103aaf:
jhh8534fea2019-09-20 14:35:20 -0500104 enabled: "false"
jhh01096592019-09-04 07:47:25 -0500105
106keystore:
107 password: Pol1cy_0nap
108
109truststore:
110 password: Pol1cy_0nap
111
112telemetry:
113 user: demo@people.osaaf.org
114 password: demo123456!
115
116nexus:
jhhd4258672020-08-09 12:08:08 -0500117 name: policy-nexus
118 port: 8081
jhh8534fea2019-09-20 14:35:20 -0500119 user: admin
jhh01096592019-09-04 07:47:25 -0500120 password: admin123
jhhd2b9ed82019-12-10 17:15:28 -0600121 offline: true
jhh01096592019-09-04 07:47:25 -0500122
123db:
jhhd4258672020-08-09 12:08:08 -0500124 name: policy-mariadb
jhh01096592019-09-04 07:47:25 -0500125 user: policy_user
126 password: policy_user
127
128pap:
129 user: healthcheck
130 password: zb!XztG34
131
132pdp:
133 user: healthcheck
134 password: zb!XztG34
135
jhhdf5484e2020-04-06 15:08:35 -0500136papl:
137 user: testpap
138 password: alpha123
139
140pdpl:
141 user: testpdp
142 password: alpha123
143
jhh01096592019-09-04 07:47:25 -0500144aai:
145 user: policy@policy.onap.org
146 password: demo123456!
147
148so:
149 user: InfraPortalClient
150 password: password1$
151
152vfc:
153 user:
154 password:
155
156sdnc:
157 user: admin
158 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
159
160dmaap:
161 brmsgw:
162 key:
163 password:
164 pap:
165 key:
166 password:
167
Rashmi Pujar3cfa4cc2019-10-17 16:05:50 -0400168cds:
169 grpc:
170 user: ccsdkapps
171 password: ccsdkapps
172 svcName: cds-blueprints-processor-grpc
173 svcPort: 9111
174
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000175# Resource Limit flavor -By Default using small
jhhd4258672020-08-09 12:08:08 -0500176# Segregation for Different environment (small, large, or unlimited)
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000177flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000178resources:
179 small:
180 limits:
181 cpu: 1
182 memory: 4Gi
183 requests:
184 cpu: 100m
185 memory: 1Gi
186 large:
187 limits:
188 cpu: 2
189 memory: 8Gi
190 requests:
191 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000192 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500193 unlimited: {}