411855e4b86fae1724f948cbd9634f50d7347b2b
[oom.git] / kubernetes / policy / components / policy-drools-pdp / values.yaml
1 # Copyright © 2017 Amdocs
2 # Copyright © 2017, 2021 Bell Canada
3 # Modifications Copyright © 2018-2021 AT&T Intellectual Property
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
20 global:
21   nodePortPrefix: 302
22
23 #################################################################
24 # Secrets metaconfig
25 #################################################################
26 secrets:
27   - uid: db-secret
28     type: basicAuth
29     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
30     login: '{{ .Values.db.user }}'
31     password: '{{ .Values.db.password }}'
32     passwordPolicy: required
33
34 #################################################################
35 # Application configuration defaults.
36 #################################################################
37 # application image
38 image: onap/policy-pdpd-cl:1.10.0
39 pullPolicy: Always
40
41 # flag to enable debugging - application support required
42 debugEnabled: false
43
44 # default number of instances
45 replicaCount: 1
46
47 nodeSelector: {}
48
49 affinity: {}
50
51 # probe configuration parameters
52 liveness:
53   initialDelaySeconds: 180
54   periodSeconds: 10
55   # necessary to disable liveness probe when setting breakpoints
56   # in debugger so K8s doesn't restart unresponsive container
57   enabled: true
58
59 readiness:
60   initialDelaySeconds: 60
61   periodSeconds: 10
62
63 service:
64   type: ClusterIP
65   name: policy-drools-pdp
66   portName: policy-drools-pdp
67   internalPort: 6969
68   externalPort: 6969
69   nodePort: 17
70   internalPort2: 9696
71   externalPort2: 9696
72   nodePort2: 21
73
74 ingress:
75   enabled: false
76
77 # Default installation values to be overridden
78
79 certInitializer:
80   nameOverride: policy-drools-pdp-cert-initializer
81   aafDeployFqi: deployer@people.osaaf.org
82   aafDeployPass: demo123456!
83   fqdn: policy
84   fqi: policy@policy.onap.org
85   public_fqdn: policy.onap.org
86   cadi_latitude: "0.0"
87   cadi_longitude: "0.0"
88   credsPath: /opt/app/osaaf/local
89   app_ns: org.osaaf.aaf
90   uid: 100
91   gid: 101
92   aaf_add_config: >
93     echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
94     echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
95     echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci;
96     chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
97
98 server:
99   jvmOpts: -server -XshowSettings:vm
100
101 aaf:
102   enabled: "false"
103
104 keystore:
105   password: Pol1cy_0nap
106
107 truststore:
108   password: Pol1cy_0nap
109
110 telemetry:
111   user: demo@people.osaaf.org
112   password: demo123456!
113
114 nexus:
115   name: policy-nexus
116   port: 8081
117   user: admin
118   password: admin123
119   offline: true
120
121 db:
122   name: policy-mariadb
123   user: policy_user
124   password: policy_user
125
126 pap:
127   user: policyadmin
128   password: zb!XztG34
129
130 pdp:
131   user: healthcheck
132   password: zb!XztG34
133
134 papl:
135   user: testpap
136   password: alpha123
137
138 pdpl:
139   user: testpdp
140   password: alpha123
141
142 aai:
143   user: policy@policy.onap.org
144   password: demo123456!
145
146 so:
147   user: InfraPortalClient
148   password: password1$
149
150 vfc:
151   user:
152   password:
153
154 sdnc:
155   user: admin
156   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
157
158 dmaap:
159   brmsgw:
160     key:
161     password:
162   pap:
163     key:
164     password:
165
166 cds:
167   grpc:
168     user: ccsdkapps
169     password: ccsdkapps
170     svcName: cds-blueprints-processor-grpc
171     svcPort: 9111
172
173 # Resource Limit flavor -By Default using small
174 # Segregation for Different environment (small, large, or unlimited)
175 flavor: small
176 resources:
177   small:
178     limits:
179       cpu: 1
180       memory: 4Gi
181     requests:
182       cpu: 100m
183       memory: 1Gi
184   large:
185     limits:
186       cpu: 2
187       memory: 8Gi
188     requests:
189       cpu: 200m
190       memory: 2Gi
191   unlimited: {}
192
193 #Pods Service Account
194 serviceAccount:
195   nameOverride: policy-drools-pdp
196   roles:
197     - read