1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2019 Nordix Foundation.
3 # Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
4 # Modifications Copyright (C) 2020-2022 Bell Canada. All rights reserved.
5 # Modifications Copyright © 2022 Nordix Foundation
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 # SPDX-License-Identifier: Apache-2.0
20 # ============LICENSE_END=========================================================
22 #################################################################
23 # Global configuration defaults.
24 #################################################################
26 nodePortPrefixExt: 304
29 #################################################################
31 #################################################################
35 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
36 login: '{{ .Values.db.user }}'
37 password: '{{ .Values.db.password }}'
38 passwordPolicy: required
39 - uid: restserver-secret
41 externalSecret: '{{ tpl (default "" .Values.restServer.papUserExternalSecret) . }}'
42 login: '{{ .Values.restServer.user }}'
43 password: '{{ .Values.restServer.password }}'
44 passwordPolicy: required
47 externalSecret: '{{ tpl (default "" .Values.restServer.apiUserExternalSecret) . }}'
48 login: '{{ .Values.healthCheckRestClient.api.user }}'
49 password: '{{ .Values.healthCheckRestClient.api.password }}'
50 passwordPolicy: required
51 - uid: distribution-secret
53 externalSecret: '{{ tpl (default "" .Values.healthCheckRestClient.distribution.credsExternalSecret) . }}'
54 login: '{{ .Values.healthCheckRestClient.distribution.user }}'
55 password: '{{ .Values.healthCheckRestClient.distribution.password }}'
56 passwordPolicy: required
57 - uid: policy-kafka-user
58 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
61 - name: sasl.jaas.config
62 value: '{{ .Values.config.someConfig }}'
65 #################################################################
66 # Application configuration defaults.
67 #################################################################
69 image: onap/policy-pap:2.8.1
72 # flag to enable debugging - application support required
75 # application configuration
88 healthCheckRestClient:
96 # default number of instances
103 # probe configuration parameters
105 initialDelaySeconds: 60
107 # necessary to disable liveness probe when setting breakpoints
108 # in debugger so K8s doesn't restart unresponsive container
113 initialDelaySeconds: 10
116 api: /policy/pap/v1/healthcheck
149 #Pods Service Account
151 nameOverride: policy-pap
157 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
158 # The default operator for prometheus enforces the below label.
167 externalSecretNameSuffix: policy-pap-user-creds
168 externalSecretUserKey: login
169 externalSecretPasswordKey: password
171 # application configuration
173 # Event consumption (kafka) properties
174 useStrimziKafka: true
175 kafkaBootstrap: strimzi-kafka-bootstrap
178 groupId: policy-group
181 policyPdpPapTopic: policy-pdp-pap
182 # If targeting a custom kafka cluster, ie useStrimziKakfa: false
183 # uncomment below config and target your kafka bootstrap servers,
184 # along with any other security config.
187 # spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
188 # spring.kafka.security.protocol: PLAINTEXT
189 # spring.kafka.consumer.group-id: policy-group
191 # Any new property can be added in the env by setting in overrides in the format mentioned below
192 # All the added properties must be in "key: value" format instead of yaml.