Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-drools-pdp / values.yaml
1 # Copyright © 2017 Amdocs
2 # Copyright © 2017, 2021 Bell Canada
3 # Modifications Copyright © 2018-2022 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   - uid: telemetry-creds
34     type: basicAuth
35     externalSecret: '{{ tpl (default "" .Values.telemetry.credsExternalSecret) . }}'
36     login: '{{ .Values.telemetry.user }}'
37     password: '{{ .Values.telemetry.password }}'
38     passwordPolicy: required
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 image: onap/policy-pdpd-cl:2.1.1
45 pullPolicy: Always
46
47 # flag to enable debugging - application support required
48 debugEnabled: false
49
50 # default number of instances
51 replicaCount: 1
52
53 nodeSelector: {}
54
55 affinity: {}
56
57 # probe configuration parameters
58 liveness:
59   initialDelaySeconds: 180
60   periodSeconds: 60
61   timeoutSeconds: 10
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: true
65
66 readiness:
67   initialDelaySeconds: 60
68   periodSeconds: 10
69
70 service:
71   type: ClusterIP
72   name: policy-drools-pdp
73   internalPort: 6969
74   ports:
75     - name: http
76       port: 6969
77     - name: http-2
78       port: 9696
79
80 ingress:
81   enabled: false
82
83 serviceMesh:
84   authorizationPolicy:
85     authorizedPrincipals:
86       - serviceAccount: strimzi-kafka-read
87
88 server:
89   jvmOpts: -server -XshowSettings:vm
90
91 telemetry:
92   user: demo@people.osaaf.org
93   password: demo123456!
94
95 nexus:
96   name: policy-nexus
97   port: 8081
98   user: admin
99   password: admin123
100   offline: true
101
102 db:
103   name: policy-mariadb
104   user: policy-user
105   password: policy_user
106
107 pap:
108   user: policyadmin
109   password: zb!XztG34
110
111 pdp:
112   user: healthcheck
113   password: zb!XztG34
114
115 papl:
116   user: testpap
117   password: alpha123
118
119 pdpl:
120   user: testpdp
121   password: alpha123
122
123 aai:
124   user: policy@policy.onap.org
125   password: demo123456!
126
127 so:
128   user: InfraPortalClient
129   password: password1$
130
131 vfc:
132   user:
133   password:
134
135 sdnc:
136   user: admin
137   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
138
139 dmaap:
140   brmsgw:
141     key:
142     password:
143   pap:
144     key:
145     password:
146
147 cds:
148   grpc:
149     user: ccsdkapps
150     password: ccsdkapps
151     svcName: cds-blueprints-processor-grpc
152     svcPort: 9111
153
154 # Resource Limit flavor -By Default using small
155 # Segregation for Different environment (small, large, or unlimited)
156 flavor: small
157 resources:
158   small:
159     limits:
160       cpu: "1"
161       memory: "800Mi"
162     requests:
163       cpu: "0.5"
164       memory: "800Mi"
165   large:
166     limits:
167       cpu: "2"
168       memory: "1.6Gi"
169     requests:
170       cpu: "1"
171       memory: "1.6Gi"
172   unlimited: {}
173
174 #Pods Service Account
175 serviceAccount:
176   nameOverride: policy-drools-pdp
177   roles:
178     - read
179
180 metrics:
181   serviceMonitor:
182     # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
183     # The default operator for prometheus enforces the below label.
184     labels:
185       release: prometheus
186     enabled: true
187     port: policy-drools-pdp-9696
188     interval: 60s
189     isHttps: false
190     basicAuth:
191       enabled: true
192       externalSecretNameSuffix: policy-drools-pdp-telemetry-creds
193       externalSecretUserKey: login
194       externalSecretPasswordKey: password
195     selector:
196       app: '{{ include "common.name" . }}'
197       chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
198       release: '{{ include "common.release" . }}'
199       heritage: '{{ .Release.Service }}'
200
201 config:
202   # Event consumption (kafka) properties
203   kafka:
204     consumer:
205       groupId: policy-drools-pdp
206   app:
207     listener:
208       policyPdpPapTopic: policy-pdp-pap
209
210 # Strimzi Kafka config
211 kafkaUser:
212   authenticationType: scram-sha-512
213   acls:
214     - name: policy-drools-pdp
215       type: group
216       operations: [ Create, Describe, Read, Write ]
217     - name: policy-pdp-pap
218       type: topic
219       patternType: prefix
220       operations: [ Create, Describe, Read, Write ]