1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2018 Ericsson. All rights reserved.
3 # Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
4 # Modifications Copyright © 2022 Nordix Foundation
5 # Modification (C) 2023 Deutsche Telekom. All rights reserved.
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 #################################################################
28 useStrimziKafkaPf: set-via-parent-chart-global-value
30 #################################################################
32 #################################################################
34 - uid: restserver-creds
36 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
37 login: '{{ .Values.restServer.user }}'
38 password: '{{ .Values.restServer.password }}'
39 - uid: policy-kafka-user
40 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
43 - name: sasl.jaas.config
44 value: '{{ .Values.config.someConfig }}'
47 #################################################################
48 # Application configuration defaults.
49 #################################################################
51 image: onap/policy-apex-pdp:2.9.2
54 # flag to enable debugging - application support required
57 # application configuration
63 # default number of instances
70 # probe configuration parameters
72 initialDelaySeconds: 20
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
79 initialDelaySeconds: 20
96 - serviceAccount: message-router-read
98 # Resource Limit flavor -By Default using small
99 # Segregation for Different environment (Small and Large)
118 #Pods Service Account
120 nameOverride: policy-apex-pdp
126 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
127 # The default operator for prometheus enforces the below label.
131 port: policy-apex-pdp
136 externalSecretNameSuffix: policy-apex-pdp-restserver-creds
137 externalSecretUserKey: login
138 externalSecretPasswordKey: password
140 app: '{{ include "common.name" . }}'
141 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
142 release: '{{ include "common.release" . }}'
143 heritage: '{{ .Release.Service }}'
145 # application configuration
147 # Event consumption (kafka) properties
148 useStrimziKafkaPf: true
149 kafkaBootstrap: strimzi-kafka-bootstrap
155 policyPdpPapTopic: policy-pdp-pap
156 # If targeting a custom kafka cluster, ie useStrimziKakfa: false
157 # uncomment below config and target your kafka bootstrap servers,
158 # along with any other security config.
161 # spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
162 # spring.kafka.security.protocol: PLAINTEXT
163 # spring.kafka.consumer.group-id: policy-group
165 # Any new property can be added in the env by setting in overrides in the format mentioned below
166 # All the added properties must be in "key: value" format instead of yaml.
168 authenticationType: scram-sha-512
172 operations: [Create, Describe, Read, Write]
173 - name: policy-pdp-pap
176 operations: [Create, Describe, Read, Write]
177 - name: policy-heartbeat
180 operations: [Create, Describe, Read, Write]