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
93 # Resource Limit flavor -By Default using small
94 # Segregation for Different environment (Small and Large)
113 #Pods Service Account
115 nameOverride: policy-apex-pdp
121 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
122 # The default operator for prometheus enforces the below label.
126 port: policy-apex-pdp
131 externalSecretNameSuffix: policy-apex-pdp-restserver-creds
132 externalSecretUserKey: login
133 externalSecretPasswordKey: password
135 app: '{{ include "common.name" . }}'
136 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
137 release: '{{ include "common.release" . }}'
138 heritage: '{{ .Release.Service }}'
140 # application configuration
142 # Event consumption (kafka) properties
143 useStrimziKafkaPf: true
144 kafkaBootstrap: strimzi-kafka-bootstrap
150 policyPdpPapTopic: policy-pdp-pap
151 # If targeting a custom kafka cluster, ie useStrimziKakfa: false
152 # uncomment below config and target your kafka bootstrap servers,
153 # along with any other security config.
156 # spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
157 # spring.kafka.security.protocol: PLAINTEXT
158 # spring.kafka.consumer.group-id: policy-group
160 # Any new property can be added in the env by setting in overrides in the format mentioned below
161 # All the added properties must be in "key: value" format instead of yaml.
163 authenticationType: scram-sha-512
167 operations: [Create, Describe, Read, Write]
168 - name: policy-pdp-pap
171 operations: [Create, Describe, Read, Write]
172 - name: policy-heartbeat
175 operations: [Create, Describe, Read, Write]