1 # Copyright © 2018 AT&T, Amdocs, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # Global configuration default values that can be inherited by
17 #################################################################
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
26 # default mount path root directory referenced
27 # by persistent volumes and log files
29 mountPath: /dockerdata-nfs
31 # flag to enable debugging - application support required
34 #################################################################
36 #################################################################
38 - uid: 'db-root-password'
40 externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
41 password: '{{ .Values.config.db.rootPassword }}'
42 - uid: 'db-user-creds'
44 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
45 login: '{{ .Values.config.db.userName }}'
46 password: '{{ .Values.config.db.userPassword }}'
47 - uid: 'http-user-creds'
49 externalSecret: '{{ tpl (default "" .Values.config.httpCredsExternalSecret) . }}'
50 login: '{{ .Values.config.httpUser }}'
51 password: '{{ .Values.config.dgUserPassword }}'
54 externalSecret: '{{ tpl (default "" .Values.config.adminCredsExternalSecret) . }}'
55 login: '{{ .Values.config.adminUser }}'
56 password: '{{ .Values.config.dgUserPassword }}'
59 externalSecret: '{{ tpl (default "" .Values.config.nodeCredsExternalSecret) . }}'
60 login: '{{ .Values.config.nodeUser }}'
61 password: '{{ .Values.config.dgUserPassword }}'
62 - uid: 'restconf-creds'
64 externalSecret: '{{ tpl (default "" .Values.config.restconfCredsExternalSecret) . }}'
65 login: '{{ .Values.config.restconfUser }}'
66 password: '{{ .Values.config.restconfPassword }}'
68 #################################################################
69 # Application configuration defaults.
70 #################################################################
72 image: onap/ccsdk-dgbuilder-image:1.3.1
75 # flag to enable debugging - application support required
78 # application configuration
82 # unused for now to preserve the API
83 rootPassword: openECOMP1.0
84 # rootPasswordExternalSecret: some secret
86 # unused for now to preserve the API
88 # userCredentialsExternalSecret: some secret
90 # unused for now to preserve the API
91 httpPassword: cc03e747a6afbbcbf8be7668acfebee5
92 # httpCredsExternalSecret: some secret
94 # unused for now to preserve the API
95 adminPassword: cc03e747a6afbbcbf8be7668acfebee5
96 # adminCredsExternalSecret: some secret
98 # unused for now to preserve the API
99 nodePassword: cc03e747a6afbbcbf8be7668acfebee5
100 # nodeCredsExternalSecret: some secret
102 # unused for now to preserve the API
103 restconfPassword: admin
104 # restconfCredsExternalSecret: some secret
107 dbServiceName: sdnc-dbhost
108 # MD5 hash of dguser password ( default: test123 )
109 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
111 # default number of instances
118 # probe configuration parameters
120 initialDelaySeconds: 10
122 # necessary to disable liveness probe when setting breakpoints
123 # in debugger so K8s doesn't restart unresponsive container
127 initialDelaySeconds: 10
141 - baseaddr: "dgbuilder"
147 # dependency / sub-chart configuration
149 nameOverride: dgbuilder-cert-initializer
150 truststoreMountpath: /opt/onap/ccsdk/dgbuilder/certs
152 app_ns: "org.osaaf.aaf"
153 fqi: "sdnc@sdnc.onap.org"
154 fqi_namespace: org.onap.sdnc
155 public_fqdn: "dgbuilder.onap.org"
156 aafDeployFqi: "deployer@people.osaaf.org"
157 aafDeployPass: demo123456!
158 cadi_latitude: "38.0"
159 cadi_longitude: "-72.0"
160 credsPath: /opt/app/osaaf/local
162 cd /opt/app/osaaf/local;
163 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} | grep cadi_keystore_password= | cut -d= -f 2 > {{ .Values.credsPath }}/.pass 2>&1 ;
164 cp {{ .Values.fqi_namespace }}.crt node-cert.pem;
165 cp {{ .Values.fqi_namespace }}.key node-key.pem;
166 chmod go+r node-*.pem
168 #Resource Limit flavor -By Default using small
170 #segregation for different envionment (Small and Large)
189 #Pods Service Account
191 nameOverride: dgbuilder