1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 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 #################################################################
21 #################################################################
25 externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
26 login: '{{ .Values.config.appUserName }}'
27 password: '{{ .Values.config.appUserPassword }}'
28 passwordPolicy: generate
31 externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
32 login: '{{ .Values.config.sdnc.username }}'
33 password: '{{ .Values.config.sdnc.password }}'
34 passwordPolicy: required
37 externalSecret: '{{ tpl (default "" .Values.config.cpsCore.credsExternalSecret) . }}'
38 login: '{{ .Values.config.cpsCore.username }}'
39 password: '{{ .Values.config.cpsCore.password }}'
40 passwordPolicy: generate
42 #################################################################
43 # Global configuration defaults.
44 #################################################################
48 baseurl: "simpledemo.onap.org"
50 image: onap/ncmp-dmi-plugin:1.4.0
51 containerPort: &svc_port 8080
58 name: &svc_name ncmp-dmi-plugin
66 ## specify target port if name is not given to the port in the service definition
69 path: /actuator/prometheus
74 pullPolicy: IfNotPresent
75 # flag to enable debugging - application support required
79 # Resource Limit flavor -By Default using small
81 # default number of instances
83 # Segregation for Different environment (Small and Large)
100 # probe configuration parameters
102 initialDelaySeconds: 20
104 # necessary to disable liveness probe when setting breakpoints
105 # in debugger so K8s doesn't restart unresponsive container
107 path: /actuator/health
111 initialDelaySeconds: 15
113 path: /actuator/health
119 - baseaddr: "cps-ncmp-dmi-plugin-api"
125 nameOverride: ncmp-dmi-plugin
133 #################################################################
134 # Application configuration defaults.
135 #################################################################
139 # REST API basic authentication credentials (passsword is generated if not provided)
140 appUserName: ncmpuser
145 dmiServiceUrl: http://*svc_name:*svc_port
147 url: http://sdnc:8181
149 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
150 topologyId: topology-netconf
152 url: http://cps-core:8080
156 # Any new property can be added in the env by setting in overrides in the format mentioned below
157 # All the added properties must be in "key: value" format insead of yaml.
159 # spring.config.max-size: 200
160 # spring.config.min-size: 10
178 # Strimzi KafkaUser and Topic config
180 - name: &ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic ncmp-dmi-cm-avc-subscription-ncmp-dmi-plugin
182 segmentBytes: 1073741824
183 - name: &dmiNcmpCmAvcSubscriptionTopic dmi-ncmp-cm-avc-subscription
185 segmentBytes: 1073741824
186 - name: &ncmpAsyncM2MTopic ncmp-async-m2m
188 segmentBytes: 1073741824
191 authenticationType: scram-sha-512
193 - name: ncmp-dmi-plugin-group
196 - name: *ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic
199 - name: *dmiNcmpCmAvcSubscriptionTopic
202 - name: *ncmpAsyncM2MTopic
208 app.ncmp.async.topic: *ncmpAsyncM2MTopic
209 app.dmi.avc.subscription-topic: *ncmpDmiCmAvcSubscriptionNcmpDmiPluginTopic
210 app.dmi.avc.subscription-response-topic: *dmiNcmpCmAvcSubscriptionTopic