1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021-2023 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
24 #Strimzi Kafka properties
25 useStrimziKafka: set-via-parent-chart-global-value
28 name: &acRuntimeTopic policy.clamp-runtime-acm
30 #################################################################
32 #################################################################
34 - uid: restserver-secret
36 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
37 login: '{{ .Values.restServer.participantppnt.user }}'
38 password: '{{ .Values.restServer.participantppnt.password }}'
39 passwordPolicy: required
42 externalSecret: '{{ tpl (default "" .Values.restServer.apiUserExternalSecret) . }}'
43 login: '{{ .Values.restServer.api.user }}'
44 password: '{{ .Values.restServer.api.password }}'
45 passwordPolicy: required
48 externalSecret: '{{ tpl (default "" .Values.restServer.papUserExternalSecret) . }}'
49 login: '{{ .Values.restServer.pap.user }}'
50 password: '{{ .Values.restServer.pap.password }}'
51 passwordPolicy: required
53 #################################################################
54 # Application configuration defaults.
55 #################################################################
57 image: onap/policy-clamp-ac-pf-ppnt:6.4.1
60 componentName: &componentName policy-clamp-ac-pf-ppnt
62 # flag to enable debugging - application support required
65 # default number of instances
68 # application configuration
90 - serviceAccount: message-router-read
92 # probe configuration parameters
94 initialDelaySeconds: 20
96 # necessary to disable liveness probe when setting breakpoints
97 # in debugger so K8s doesn't restart unresponsive container
102 initialDelaySeconds: 20
131 #Pods Service Account
133 nameOverride: *componentName
138 # Any new property can be added in the env by setting in overrides in the format mentioned below
139 # All the added properties must be in "key: value" format instead of yaml.
141 # spring.config.max-size: 200
142 # spring.config.min-size: 10
144 # Strimzi Kafka config
146 authenticationType: scram-sha-512
148 - name: *componentName
151 - name: *acRuntimeTopic
153 operations: [Read, Write]