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.1.0
51 containerPort: &svc_port 8080
52 managementPort: &mgt_port 8081
59 name: &svc_name ncmp-dmi-plugin
63 - name: http-management
70 ## specify target port if name is not given to the port in the service definition
73 path: /manage/prometheus
78 pullPolicy: IfNotPresent
79 # flag to enable debugging - application support required
83 # Resource Limit flavor -By Default using small
85 # default number of instances
87 # Segregation for Different environment (Small and Large)
104 # probe configuration parameters
106 initialDelaySeconds: 20
108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
115 initialDelaySeconds: 15
123 - baseaddr: "ncmp-dmi-plugin"
129 nameOverride: ncmp-dmi-plugin
137 #################################################################
138 # Application configuration defaults.
139 #################################################################
143 # REST API basic authentication credentials (passsword is generated if not provided)
144 appUserName: ncmpuser
149 dmiServiceUrl: http://*svc_name:*svc_port
151 url: http://sdnc:8181
153 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
154 topologyId: topology-netconf
156 url: http://cps-core:8080
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 insead of yaml.
163 # spring.config.max-size: 200
164 # spring.config.min-size: 10