Add CSIT for ACM in docker
[policy/docker.git] / helm / policy / components / policy-drools-pdp / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2023 Nordix Foundation. All rights reserved.
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 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 302
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: db-secret
30     type: basicAuth
31     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
32     login: '{{ .Values.db.user }}'
33     password: '{{ .Values.db.password }}'
34     passwordPolicy: required
35   - uid: telemetry-creds
36     type: basicAuth
37     externalSecret: '{{ tpl (default "" .Values.telemetry.credsExternalSecret) . }}'
38     login: '{{ .Values.telemetry.user }}'
39     password: '{{ .Values.telemetry.password }}'
40     passwordPolicy: required
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 # application image
46 image: nexus3.onap.org:10001/onap/policy-pdpd-cl:1.12.1
47 pullPolicy: Always
48
49 # flag to enable debugging - application support required
50 debugEnabled: false
51
52 # default number of instances
53 replicaCount: 1
54
55 nodeSelector: {}
56
57 affinity: {}
58
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 180
62   periodSeconds: 60
63   timeoutSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 60
70   periodSeconds: 10
71
72 service:
73   type: ClusterIP
74   name: policy-drools-pdp
75   portName: http
76   internalPort: 6969
77   externalPort: 6969
78   nodePort: 17
79   internalPort2: 9696
80   externalPort2: 9696
81   nodePort2: 21
82
83 ingress:
84   enabled: false
85
86 # Default installation values to be overridden
87
88 server:
89   jvmOpts: -server -XshowSettings:vm
90
91 aaf:
92   enabled: "false"
93
94 telemetry:
95   user: demo@people.osaaf.org
96   password: demo123456!
97
98 nexus:
99   name: policy-nexus
100   port: 8081
101   user: admin
102   password: admin123
103   offline: true
104
105 db:
106   name: mariadb-galera
107   user: policy-user
108   password: policy-user
109
110 pap:
111   user: policyadmin
112   password: zb!XztG34
113
114 pdp:
115   user: healthcheck
116   password: zb!XztG34
117
118 papl:
119   user: testpap
120   password: alpha123
121
122 pdpl:
123   user: testpdp
124   password: alpha123
125
126 aai:
127   user: policy@policy.onap.org
128   password: demo123456!
129
130 so:
131   user: InfraPortalClient
132   password: password1$
133
134 vfc:
135   user:
136   password:
137
138 sdnc:
139   user: admin
140   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
141
142 dmaap:
143   brmsgw:
144     key:
145     password:
146   pap:
147     key:
148     password:
149
150 cds:
151   grpc:
152     user: ccsdkapps
153     password: ccsdkapps
154     svcName: cds-blueprints-processor-grpc
155     svcPort: 9111
156
157 # Resource Limit flavor -By Default using small
158 # Segregation for Different environment (small, large, or unlimited)
159 flavor: small
160 resources:
161   small:
162     limits:
163       cpu: 1
164       memory: 4Gi
165     requests:
166       cpu: 100m
167       memory: 1Gi
168   unlimited: {}
169
170 #Pods Service Account
171 serviceAccount:
172   nameOverride: policy-drools-pdp
173   roles:
174     - read
175
176 metrics:
177   serviceMonitor:
178     # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
179     # The default operator for prometheus enforces the below label.
180     labels:
181       release: prometheus
182     enabled: true
183     port: policy-drools-pdp-9696
184     interval: 60s
185     isHttps: true
186     basicAuth:
187       enabled: true
188       externalSecretNameSuffix: policy-drools-pdp-telemetry-creds
189       externalSecretUserKey: login
190       externalSecretPasswordKey: password
191     selector:
192       app: '{{ include "common.name" . }}'
193       chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
194       release: '{{ include "common.release" . }}'
195       heritage: '{{ .Release.Service }}'