blob: cf88fe5c3f62f4804b7868fb4e4f50b0cd61ef61 [file] [log] [blame]
vaibhavjayasea9aee02018-08-31 06:22:26 +00001# Copyright © 2018 AT&T, Amdocs, Bell Canada
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
Mike Elliott13fed112018-02-28 08:33:33 -050015# Global configuration default values that can be inherited by
16# all subcharts.
17#################################################################
18global:
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
21 nodePortPrefix: 302
22
23 # image repositories
24 repository: nexus3.onap.org:10001
Mike Elliott13fed112018-02-28 08:33:33 -050025
26 # readiness check
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020027 readinessImage: onap/oom/readiness:3.0.1
Mike Elliott13fed112018-02-28 08:33:33 -050028
29 # logging agent
30 loggingRepository: docker.elastic.co
31 loggingImage: beats/filebeat:5.5.0
32
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010033 # envsusbt
34 envsubstImage: dibi/envsubst
35
Mike Elliott13fed112018-02-28 08:33:33 -050036 # image pull policy
37 pullPolicy: Always
38
39 # default mount path root directory referenced
40 # by persistent volumes and log files
41 persistence:
42 mountPath: /dockerdata-nfs
43
44 # flag to enable debugging - application support required
45 debugEnabled: true
jmac4f76af42018-03-28 20:36:47 +000046
Mike Elliott13fed112018-02-28 08:33:33 -050047#################################################################
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010048# Secrets metaconfig
49#################################################################
50secrets:
51 - uid: 'db-root-password'
52 type: password
53 externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
Krzysztof Opasiak67b5d862020-04-24 20:41:24 +020054 password: '{{ .Values.config.db.rootPassword }}'
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010055 - uid: 'db-user-creds'
56 type: basicAuth
57 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
58 login: '{{ .Values.config.db.userName }}'
Krzysztof Opasiak67b5d862020-04-24 20:41:24 +020059 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010060 - uid: 'http-user-creds'
61 type: basicAuth
62 externalSecret: '{{ tpl (default "" .Values.config.httpCredsExternalSecret) . }}'
63 login: '{{ .Values.config.httpUser }}'
64 password: '{{ .Values.config.dgUserPassword }}'
65 - uid: 'admin-creds'
66 type: basicAuth
67 externalSecret: '{{ tpl (default "" .Values.config.adminCredsExternalSecret) . }}'
68 login: '{{ .Values.config.adminUser }}'
69 password: '{{ .Values.config.dgUserPassword }}'
70 - uid: 'node-creds'
71 type: basicAuth
72 externalSecret: '{{ tpl (default "" .Values.config.nodeCredsExternalSecret) . }}'
73 login: '{{ .Values.config.nodeUser }}'
74 password: '{{ .Values.config.dgUserPassword }}'
75 - uid: 'restconf-creds'
76 type: basicAuth
77 externalSecret: '{{ tpl (default "" .Values.config.restconfCredsExternalSecret) . }}'
78 login: '{{ .Values.config.restconfUser }}'
79 password: '{{ .Values.config.restconfPassword }}'
80
81#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050082# Application configuration defaults.
83#################################################################
84# application image
85repository: nexus3.onap.org:10001
Dan Timoney830b85f2020-05-27 16:00:05 -040086image: onap/ccsdk-dgbuilder-image:0.7.4
Mike Elliott13fed112018-02-28 08:33:33 -050087pullPolicy: Always
88
89# flag to enable debugging - application support required
90debugEnabled: false
91
92# application configuration
93config:
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010094 db:
95 dbName: sdnctl
96 # unused for now to preserve the API
97 rootPassword: openECOMP1.0
98 # rootPasswordExternalSecret: some secret
99 userName: sdnctl
100 # unused for now to preserve the API
101 userPassword: gamma
102 # userCredentialsExternalSecret: some secret
103 httpUser: dguser
104 # unused for now to preserve the API
105 httpPassword: cc03e747a6afbbcbf8be7668acfebee5
106 # httpCredsExternalSecret: some secret
107 adminUser: dguser
108 # unused for now to preserve the API
109 adminPassword: cc03e747a6afbbcbf8be7668acfebee5
110 # adminCredsExternalSecret: some secret
111 nodeUser: dguser
112 # unused for now to preserve the API
113 nodePassword: cc03e747a6afbbcbf8be7668acfebee5
114 # nodeCredsExternalSecret: some secret
115 restconfUser: admin
116 # unused for now to preserve the API
117 restconfPassword: admin
118 # restconfCredsExternalSecret: some secret
119
jmac4f76af42018-03-28 20:36:47 +0000120 dbPodName: mysql-db
121 dbServiceName: sdnc-dbhost
jmac70863e12018-05-16 14:53:03 +0000122 # MD5 hash of dguser password ( default: test123 )
123 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Mike Elliott13fed112018-02-28 08:33:33 -0500124
125# default number of instances
126replicaCount: 1
127
128nodeSelector: {}
129
130affinity: {}
131
132# probe configuration parameters
133liveness:
134 initialDelaySeconds: 10
135 periodSeconds: 10
136 # necessary to disable liveness probe when setting breakpoints
137 # in debugger so K8s doesn't restart unresponsive container
138 enabled: true
139
140readiness:
141 initialDelaySeconds: 10
142 periodSeconds: 10
143
144service:
145 type: NodePort
146 name: dgbuilder
BorislavG1ffbd992018-04-24 07:56:27 +0000147 portName: dgbuilder
Mike Elliott13fed112018-02-28 08:33:33 -0500148 externalPort: 3000
149 internalPort: 3100
150 nodePort: 28
151
152ingress:
153 enabled: false
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200154 service:
155 - baseaddr: "dgbuilder"
156 name: "dgbuilder"
157 port: 3000
158 config:
159 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500160
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400161 # dependency / sub-chart configuration
162certInitializer:
163 nameOverride: dgbuilder-cert-initializer
164 truststoreMountpath: /opt/onap/ccsdk/dgbuilder/certs
165 fqdn: "sdnc"
166 app_ns: "org.osaaf.aaf"
167 fqi: "sdnc@sdnc.onap.org"
168 fqi_namespace: org.onap.sdnc
169 public_fqdn: "dgbuilder.onap.org"
170 aafDeployFqi: "deployer@people.osaaf.org"
171 aafDeployPass: demo123456!
172 cadi_latitude: "38.0"
173 cadi_longitude: "-72.0"
174 credsPath: /opt/app/osaaf/local
175 aaf_add_config: >
176 cd /opt/app/osaaf/local;
177 /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 ;
178 cp {{ .Values.fqi_namespace }}.crt node-cert.pem;
179 cp {{ .Values.fqi_namespace }}.key node-key.pem;
180 chmod go+r node-*.pem
181
182#Resource Limit flavor -By Default using small
183flavor: small
184#segregation for different envionment (Small and Large)
185
186resources:
187 small:
188 limits:
189 cpu: 2
190 memory: 4Gi
191 requests:
192 cpu: 1
193 memory: 2Gi
194 large:
195 limits:
196 cpu: 4
197 memory: 8Gi
198 requests:
199 cpu: 2
200 memory: 4Gi
201 unlimited: {}
202