blob: 38d398998c9bb68f83584e7f20f44b29f9b61f15 [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: >
jhhd4258672020-08-09 12:08:08 -050092 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
93 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
jhh32367fc2021-03-10 13:10:47 -060094 echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci;
jhhd4258672020-08-09 12:08:08 -050095 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
96
jhh01096592019-09-04 07:47:25 -050097server:
jhhed6839f2020-05-08 12:28:27 -050098 jvmOpts: -server -XshowSettings:vm
jhh01096592019-09-04 07:47:25 -050099
100aaf:
jhh8534fea2019-09-20 14:35:20 -0500101 enabled: "false"
jhh01096592019-09-04 07:47:25 -0500102
103keystore:
104 password: Pol1cy_0nap
105
106truststore:
107 password: Pol1cy_0nap
108
109telemetry:
110 user: demo@people.osaaf.org
111 password: demo123456!
112
113nexus:
jhhd4258672020-08-09 12:08:08 -0500114 name: policy-nexus
115 port: 8081
jhh8534fea2019-09-20 14:35:20 -0500116 user: admin
jhh01096592019-09-04 07:47:25 -0500117 password: admin123
jhhd2b9ed82019-12-10 17:15:28 -0600118 offline: true
jhh01096592019-09-04 07:47:25 -0500119
120db:
jhhd4258672020-08-09 12:08:08 -0500121 name: policy-mariadb
jhh01096592019-09-04 07:47:25 -0500122 user: policy_user
123 password: policy_user
124
125pap:
126 user: healthcheck
127 password: zb!XztG34
128
129pdp:
130 user: healthcheck
131 password: zb!XztG34
132
jhhdf5484e2020-04-06 15:08:35 -0500133papl:
134 user: testpap
135 password: alpha123
136
137pdpl:
138 user: testpdp
139 password: alpha123
140
jhh01096592019-09-04 07:47:25 -0500141aai:
142 user: policy@policy.onap.org
143 password: demo123456!
144
145so:
146 user: InfraPortalClient
147 password: password1$
148
149vfc:
150 user:
151 password:
152
153sdnc:
154 user: admin
155 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
156
157dmaap:
158 brmsgw:
159 key:
160 password:
161 pap:
162 key:
163 password:
164
Rashmi Pujar3cfa4cc2019-10-17 16:05:50 -0400165cds:
166 grpc:
167 user: ccsdkapps
168 password: ccsdkapps
169 svcName: cds-blueprints-processor-grpc
170 svcPort: 9111
171
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000172# Resource Limit flavor -By Default using small
jhhd4258672020-08-09 12:08:08 -0500173# Segregation for Different environment (small, large, or unlimited)
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000174flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000175resources:
176 small:
177 limits:
178 cpu: 1
179 memory: 4Gi
180 requests:
181 cpu: 100m
182 memory: 1Gi
183 large:
184 limits:
185 cpu: 2
186 memory: 8Gi
187 requests:
188 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000189 memory: 2Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500190 unlimited: {}
farida azmyc1178372021-04-11 12:55:33 +0200191
192#Pods Service Account
193serviceAccount:
194 nameOverride: policy-drools-pdp
195 roles:
196 - read