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 #################################################################
29 #################################################################
31 #################################################################
33 - uid: restserver-creds
35 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
36 login: '{{ .Values.restServer.user }}'
37 password: '{{ .Values.restServer.password }}'
38 - uid: policy-kafka-user
39 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
42 - name: sasl.jaas.config
43 value: '{{ .Values.config.someConfig }}'
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
50 image: onap/policy-apex-pdp:2.9.1
53 # flag to enable debugging - application support required
56 # application configuration
62 # default number of instances
69 # probe configuration parameters
71 initialDelaySeconds: 20
73 # necessary to disable liveness probe when setting breakpoints
74 # in debugger so K8s doesn't restart unresponsive container
78 initialDelaySeconds: 20
92 # Resource Limit flavor -By Default using small
93 # Segregation for Different environment (Small and Large)
112 #Pods Service Account
114 nameOverride: policy-apex-pdp
120 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
121 # The default operator for prometheus enforces the below label.
125 port: policy-apex-pdp
130 externalSecretNameSuffix: policy-apex-pdp-restserver-creds
131 externalSecretUserKey: login
132 externalSecretPasswordKey: password
134 app: '{{ include "common.name" . }}'
135 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
136 release: '{{ include "common.release" . }}'
137 heritage: '{{ .Release.Service }}'
139 # application configuration
141 # Event consumption (kafka) properties
142 useStrimziKafka: true
143 kafkaBootstrap: strimzi-kafka-bootstrap
146 groupId: policy-group
149 policyPdpPapTopic: policy-pdp-pap
150 # If targeting a custom kafka cluster, ie useStrimziKakfa: false
151 # uncomment below config and target your kafka bootstrap servers,
152 # along with any other security config.
155 # spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
156 # spring.kafka.security.protocol: PLAINTEXT
157 # spring.kafka.consumer.group-id: policy-group
159 # Any new property can be added in the env by setting in overrides in the format mentioned below
160 # All the added properties must be in "key: value" format instead of yaml.