[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / policy / components / policy-drools-pdp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2020 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   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   ubuntuImage: ubuntu:16.04
25
26 #################################################################
27 # Secrets metaconfig
28 #################################################################
29 secrets:
30   - uid: db-secret
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
33     login: '{{ .Values.db.user }}'
34     password: '{{ .Values.db.password }}'
35     passwordPolicy: required
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application image
41 repository: nexus3.onap.org:10001
42 image: onap/policy-pdpd-cl:1.7.0
43 pullPolicy: Always
44
45 # flag to enable debugging - application support required
46 debugEnabled: false
47
48 # default number of instances
49 replicaCount: 1
50
51 nodeSelector: {}
52
53 affinity: {}
54
55 # probe configuration parameters
56 liveness:
57   initialDelaySeconds: 180
58   periodSeconds: 10
59   # necessary to disable liveness probe when setting breakpoints
60   # in debugger so K8s doesn't restart unresponsive container
61   enabled: true
62
63 readiness:
64   initialDelaySeconds: 60
65   periodSeconds: 10
66
67 service:
68   type: ClusterIP
69   name: policy-drools-pdp
70   portName: policy-drools-pdp
71   internalPort: 6969
72   externalPort: 6969
73   nodePort: 17
74   internalPort2: 9696
75   externalPort2: 9696
76   nodePort2: 21
77
78 ingress:
79   enabled: false
80
81 # Default installation values to be overridden
82
83 certInitializer:
84   nameOverride: policy-drools-pdp-cert-initializer
85   aafDeployFqi: deployer@people.osaaf.org
86   aafDeployPass: demo123456!
87   fqdn: policy
88   fqi: policy@policy.onap.org
89   public_fqdn: policy.onap.org
90   cadi_latitude: "0.0"
91   cadi_longitude: "0.0"
92   credsPath: /opt/app/osaaf/local
93   app_ns: org.osaaf.aaf
94   uid: 1000
95   gid: 1000
96   aaf_add_config: >
97     /opt/app/aaf_config/bin/agent.sh;
98     export $(/opt/app/aaf_config/bin/agent.sh local showpass
99     {{ .Values.fqi }} {{ .Values.fqdn }} | grep "^cadi_keystore_password_p12");
100     echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
101     echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
102     chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
103
104 server:
105   jvmOpts: -server -XshowSettings:vm
106
107 aaf:
108   enabled: "false"
109
110 keystore:
111   password: Pol1cy_0nap
112
113 truststore:
114   password: Pol1cy_0nap
115
116 telemetry:
117   user: demo@people.osaaf.org
118   password: demo123456!
119
120 nexus:
121   name: policy-nexus
122   port: 8081
123   user: admin
124   password: admin123
125   offline: true
126
127 db:
128   name: policy-mariadb
129   user: policy_user
130   password: policy_user
131
132 pap:
133   user: healthcheck
134   password: zb!XztG34
135
136 pdp:
137   user: healthcheck
138   password: zb!XztG34
139
140 papl:
141   user: testpap
142   password: alpha123
143
144 pdpl:
145   user: testpdp
146   password: alpha123
147
148 aai:
149   user: policy@policy.onap.org
150   password: demo123456!
151
152 so:
153   user: InfraPortalClient
154   password: password1$
155
156 vfc:
157   user:
158   password:
159
160 sdnc:
161   user: admin
162   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
163
164 dmaap:
165   brmsgw:
166     key:
167     password:
168   pap:
169     key:
170     password:
171
172 cds:
173   grpc:
174     user: ccsdkapps
175     password: ccsdkapps
176     svcName: cds-blueprints-processor-grpc
177     svcPort: 9111
178
179 # Resource Limit flavor -By Default using small
180 # Segregation for Different environment (small, large, or unlimited)
181 flavor: small
182 resources:
183   small:
184     limits:
185       cpu: 1
186       memory: 4Gi
187     requests:
188       cpu: 100m
189       memory: 1Gi
190   large:
191     limits:
192       cpu: 2
193       memory: 8Gi
194     requests:
195       cpu: 200m
196       memory: 2Gi
197   unlimited: {}