blob: 9ef74e8d860b64eab7ebccef5e2a163d5764daa7 [file] [log] [blame]
jhhd74fe9f2021-04-15 11:04:39 -05001# Copyright © 2017 Amdocs
2# Copyright © 2017, 2021 Bell Canada
jhh0d1c0e82022-04-08 14:36:15 -05003# Modifications Copyright © 2018-2022 AT&T Intellectual Property
mayankg2703ced85142018-03-20 05:42:53 +00004#
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#################################################################
20global:
21 nodePortPrefix: 302
jhh01096592019-09-04 07:47:25 -050022
mayankg2703ced85142018-03-20 05:42:53 +000023#################################################################
Krzysztof Opasiak68b1c922020-03-26 23:59:36 +010024# Secrets metaconfig
25#################################################################
26secrets:
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
jhh0d1c0e82022-04-08 14:36:15 -050033 - 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
Krzysztof Opasiak68b1c922020-03-26 23:59:36 +010039
40#################################################################
mayankg2703ced85142018-03-20 05:42:53 +000041# Application configuration defaults.
42#################################################################
43# application image
saul.gillef208b02023-04-26 16:16:05 +010044image: onap/policy-pdpd-cl:1.12.2
mayankg2703ced85142018-03-20 05:42:53 +000045pullPolicy: Always
46
47# flag to enable debugging - application support required
48debugEnabled: false
49
mayankg2703ced85142018-03-20 05:42:53 +000050# default number of instances
Jorge Hernandezd9f75452018-06-04 11:18:52 -050051replicaCount: 1
mayankg2703ced85142018-03-20 05:42:53 +000052
53nodeSelector: {}
54
55affinity: {}
56
57# probe configuration parameters
58liveness:
Jorge Hernandez432aa312018-06-04 18:20:43 -050059 initialDelaySeconds: 180
jhh0d1c0e82022-04-08 14:36:15 -050060 periodSeconds: 60
61 timeoutSeconds: 10
mayankg2703ced85142018-03-20 05:42:53 +000062 # necessary to disable liveness probe when setting breakpoints
63 # in debugger so K8s doesn't restart unresponsive container
Jorge Hernandez328eadb2018-05-15 07:52:21 -050064 enabled: true
mayankg2703ced85142018-03-20 05:42:53 +000065
66readiness:
Jorge Hernandezd9f75452018-06-04 11:18:52 -050067 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000068 periodSeconds: 10
69
70service:
jhh59ce22d2019-05-14 17:59:36 -050071 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050072 name: policy-drools-pdp
jhh59ce22d2019-05-14 17:59:36 -050073 internalPort: 6969
Andreas Geisslerf10c5552023-03-21 18:09:46 +010074 ports:
75 - name: http
76 port: 6969
77 - name: http-2
78 port: 9696
mayankg2703ced85142018-03-20 05:42:53 +000079
80ingress:
81 enabled: false
82
AndrewLamb7ef78ae2023-04-20 16:24:13 +010083serviceMesh:
84 authorizationPolicy:
85 authorizedPrincipals:
86 - serviceAccount: message-router-read
87
jhh01096592019-09-04 07:47:25 -050088server:
jhhed6839f2020-05-08 12:28:27 -050089 jvmOpts: -server -XshowSettings:vm
jhh01096592019-09-04 07:47:25 -050090
jhh01096592019-09-04 07:47:25 -050091telemetry:
92 user: demo@people.osaaf.org
93 password: demo123456!
94
95nexus:
jhhd4258672020-08-09 12:08:08 -050096 name: policy-nexus
97 port: 8081
jhh8534fea2019-09-20 14:35:20 -050098 user: admin
jhh01096592019-09-04 07:47:25 -050099 password: admin123
jhhd2b9ed82019-12-10 17:15:28 -0600100 offline: true
jhh01096592019-09-04 07:47:25 -0500101
102db:
jhhd4258672020-08-09 12:08:08 -0500103 name: policy-mariadb
jhh01096592019-09-04 07:47:25 -0500104 user: policy_user
105 password: policy_user
106
107pap:
adheli.tavaresf3656cd2021-11-10 14:54:32 +0000108 user: policyadmin
jhh01096592019-09-04 07:47:25 -0500109 password: zb!XztG34
110
111pdp:
112 user: healthcheck
113 password: zb!XztG34
114
jhhdf5484e2020-04-06 15:08:35 -0500115papl:
116 user: testpap
117 password: alpha123
118
119pdpl:
120 user: testpdp
121 password: alpha123
122
jhh01096592019-09-04 07:47:25 -0500123aai:
124 user: policy@policy.onap.org
125 password: demo123456!
126
127so:
128 user: InfraPortalClient
129 password: password1$
130
131vfc:
132 user:
133 password:
134
135sdnc:
136 user: admin
137 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
138
139dmaap:
140 brmsgw:
141 key:
142 password:
143 pap:
144 key:
145 password:
146
Rashmi Pujar3cfa4cc2019-10-17 16:05:50 -0400147cds:
148 grpc:
149 user: ccsdkapps
150 password: ccsdkapps
151 svcName: cds-blueprints-processor-grpc
152 svcPort: 9111
153
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000154# Resource Limit flavor -By Default using small
jhhd4258672020-08-09 12:08:08 -0500155# Segregation for Different environment (small, large, or unlimited)
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000156flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000157resources:
158 small:
159 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200160 cpu: 999
161 memory: 0.8Gi
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000162 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200163 cpu: 0.5
164 memory: 0.8Gi
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000165 large:
166 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200167 cpu: 999
168 memory: 1.6Gi
vaibhavjayas4136f5d2018-08-17 07:01:05 +0000169 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200170 cpu: 1
171 memory: 1.6Gi
Pamela Dragosh54048d32018-11-09 07:09:41 -0500172 unlimited: {}
farida azmyc1178372021-04-11 12:55:33 +0200173
174#Pods Service Account
175serviceAccount:
176 nameOverride: policy-drools-pdp
177 roles:
178 - read
jhh0d1c0e82022-04-08 14:36:15 -0500179
jhh0d1c0e82022-04-08 14:36:15 -0500180metrics:
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
Andreas Geisslerf10c5552023-03-21 18:09:46 +0100189 isHttps: false
jhh0d1c0e82022-04-08 14:36:15 -0500190 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 }}'