Merge "[COMMON] Add custom certs into AAF truststore"
[oom.git] / kubernetes / policy / components / policy-drools-pdp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2021 AT&T Intellectual Property
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21
22 #################################################################
23 # Secrets metaconfig
24 #################################################################
25 secrets:
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 #################################################################
34 # Application configuration defaults.
35 #################################################################
36 # application image
37 image: onap/policy-pdpd-cl:1.8.2
38 pullPolicy: Always
39
40 # flag to enable debugging - application support required
41 debugEnabled: false
42
43 # default number of instances
44 replicaCount: 1
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 180
53   periodSeconds: 10
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57
58 readiness:
59   initialDelaySeconds: 60
60   periodSeconds: 10
61
62 service:
63   type: ClusterIP
64   name: policy-drools-pdp
65   portName: policy-drools-pdp
66   internalPort: 6969
67   externalPort: 6969
68   nodePort: 17
69   internalPort2: 9696
70   externalPort2: 9696
71   nodePort2: 21
72
73 ingress:
74   enabled: false
75
76 # Default installation values to be overridden
77
78 certInitializer:
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: 100
90   gid: 101
91   aaf_add_config: >
92     echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
93     echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
94     echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci;
95     chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
96
97 server:
98   jvmOpts: -server -XshowSettings:vm
99
100 aaf:
101   enabled: "false"
102
103 keystore:
104   password: Pol1cy_0nap
105
106 truststore:
107   password: Pol1cy_0nap
108
109 telemetry:
110   user: demo@people.osaaf.org
111   password: demo123456!
112
113 nexus:
114   name: policy-nexus
115   port: 8081
116   user: admin
117   password: admin123
118   offline: true
119
120 db:
121   name: policy-mariadb
122   user: policy_user
123   password: policy_user
124
125 pap:
126   user: healthcheck
127   password: zb!XztG34
128
129 pdp:
130   user: healthcheck
131   password: zb!XztG34
132
133 papl:
134   user: testpap
135   password: alpha123
136
137 pdpl:
138   user: testpdp
139   password: alpha123
140
141 aai:
142   user: policy@policy.onap.org
143   password: demo123456!
144
145 so:
146   user: InfraPortalClient
147   password: password1$
148
149 vfc:
150   user:
151   password:
152
153 sdnc:
154   user: admin
155   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
156
157 dmaap:
158   brmsgw:
159     key:
160     password:
161   pap:
162     key:
163     password:
164
165 cds:
166   grpc:
167     user: ccsdkapps
168     password: ccsdkapps
169     svcName: cds-blueprints-processor-grpc
170     svcPort: 9111
171
172 # Resource Limit flavor -By Default using small
173 # Segregation for Different environment (small, large, or unlimited)
174 flavor: small
175 resources:
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
189       memory: 2Gi
190   unlimited: {}