[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     /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     echo "export CADI_KEYFILE='{{ .Values.credsPath }}/org.onap.policy.keyfile'" >> {{ .Values.credsPath }}/.ci;
98     chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
99
100 server:
101   jvmOpts: -server -XshowSettings:vm
102
103 aaf:
104   enabled: "false"
105
106 keystore:
107   password: Pol1cy_0nap
108
109 truststore:
110   password: Pol1cy_0nap
111
112 telemetry:
113   user: demo@people.osaaf.org
114   password: demo123456!
115
116 nexus:
117   name: policy-nexus
118   port: 8081
119   user: admin
120   password: admin123
121   offline: true
122
123 db:
124   name: policy-mariadb
125   user: policy_user
126   password: policy_user
127
128 pap:
129   user: healthcheck
130   password: zb!XztG34
131
132 pdp:
133   user: healthcheck
134   password: zb!XztG34
135
136 papl:
137   user: testpap
138   password: alpha123
139
140 pdpl:
141   user: testpdp
142   password: alpha123
143
144 aai:
145   user: policy@policy.onap.org
146   password: demo123456!
147
148 so:
149   user: InfraPortalClient
150   password: password1$
151
152 vfc:
153   user:
154   password:
155
156 sdnc:
157   user: admin
158   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
159
160 dmaap:
161   brmsgw:
162     key:
163     password:
164   pap:
165     key:
166     password:
167
168 cds:
169   grpc:
170     user: ccsdkapps
171     password: ccsdkapps
172     svcName: cds-blueprints-processor-grpc
173     svcPort: 9111
174
175 # Resource Limit flavor -By Default using small
176 # Segregation for Different environment (small, large, or unlimited)
177 flavor: small
178 resources:
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
192       memory: 2Gi
193   unlimited: {}