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 #################################################################
23 nodePortPrefixExt: 304
25 #Strimzi Kafka properties
28 name: &acRuntimeTopic policy.clamp-runtime-acm
30 #################################################################
32 #################################################################
36 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
37 login: '{{ .Values.db.user }}'
38 password: '{{ .Values.db.password }}'
39 passwordPolicy: required
42 externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
43 login: '{{ .Values.config.policyAppUserName }}'
44 password: '{{ .Values.config.policyAppUserPassword }}'
45 passwordPolicy: required
47 #################################################################
48 # Application configuration defaults.
49 #################################################################
51 image: onap/policy-clamp-runtime-acm:7.1.0
54 componentName: &componentName policy-clamp-runtime-acm
56 # flag to enable debugging - application support required
59 # application configuration
61 policyAppUserName: runtimeUser
62 policyAppUserPassword: none
63 # Any new property can be added in the env by setting in overrides in the format mentioned below
64 # All the added properties must be in "key: value" format instead of yaml.
66 # spring.config.max-size: 200
67 # spring.config.min-size: 10
69 # Strimzi Kafka config
71 authenticationType: scram-sha-512
73 - name: *componentName
76 - name: *acRuntimeTopic
78 operations: [Read, Write]
81 - name: *acRuntimeTopic
90 # default number of instances
97 # probe configuration parameters
99 initialDelaySeconds: 60
101 # necessary to disable liveness probe when setting breakpoints
102 # in debugger so K8s doesn't restart unresponsive container
107 initialDelaySeconds: 60
123 authorizedPrincipals:
124 - serviceAccount: strimzi-kafka-read
125 - serviceAccount: policy-gui-read
145 #Pods Service Account
147 nameOverride: *componentName
151 wait_for_job_container:
153 - '{{ include "common.release" . }}-policy-galera-config'
156 toscaElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
157 toscaCompositionName: org.onap.policy.clamp.acm.AutomationComposition