blob: 12991a831f3b1b0a334046b84a51b1c2e2eb9d55 [file] [log] [blame]
Mukul2b4e7532018-08-03 10:41:29 +00001# Copyright © 2017 Amdocs, Bell Canada
2# Modifications Copyright © 2018 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
Mike Elliott13fed112018-02-28 08:33:33 -050016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mike Elliott13fed112018-02-28 08:33:33 -050021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020023 centralizedLoggingEnabled: false
Mike Elliott13fed112018-02-28 08:33:33 -050024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010026 # envsusbt
27 envsubstImage: dibi/envsubst
jmac99ff3972018-03-29 01:02:42 +000028 persistence:
29 mountPath: /dockerdata-nfs
Mike Elliott13fed112018-02-28 08:33:33 -050030
31#################################################################
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010032# Secrets metaconfig
33#################################################################
34secrets:
35 - uid: "db-root-pass"
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010036 name: '{{ include "common.release" . }}-appc-db-root-pass'
37 externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}'
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010038 type: password
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010039 password: '{{ .Values.config.dbRootPass }}'
40 - uid: 'appcdb-user-creds'
41 name: '{{ include "common.release" . }}-appcdb-user-creds'
42 type: basicAuth
43 externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}'
44 login: '{{ .Values.config.appcdb.userName }}'
45 password: '{{ .Values.config.appcdb.password }}'
46 - uid: 'sdncdb-user-creds'
47 name: '{{ include "common.release" . }}-sdncdb-user-creds'
48 type: basicAuth
49 externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}'
50 login: '{{ .Values.config.sdncdb.userName }}'
51 password: '{{ .Values.config.sdncdb.password }}'
52
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010053
54#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050055# Application configuration defaults.
56#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040057flavor: small
Mike Elliott13fed112018-02-28 08:33:33 -050058# application image
59repository: nexus3.onap.org:10001
Taka Cho6793a752020-04-03 08:52:00 -040060image: onap/appc-image:1.7.1
kerenj6ca15a72017-08-23 12:05:23 +000061pullPolicy: Always
Mike Elliott13fed112018-02-28 08:33:33 -050062
63# flag to enable debugging - application support required
64debugEnabled: false
65
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020066# log configuration
67log:
68 path: /var/log/onap
69
Mike Elliott13fed112018-02-28 08:33:33 -050070# application configuration
71config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010072# dbRootPassExternalSecret: some secret
73# dbRootPass: password
74 appcdb:
75 # Warning: changing this config option may not work.
76 # It seems that the DB name is hardcoded.
77 dbName: appcctl
78 userName: appcctl
Krzysztof Opasiakc3365802020-04-24 19:50:48 +020079 # password: appcctl
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010080 # userCredsExternalSecret: some secret
81 sdncdb:
82 # Warning: changing this config option may not work.
83 # It seems that the DB name is hardcoded.
84 dbName: sdnctl
85 userName: sdnctl
Krzysztof Opasiakf3569b82020-04-24 19:53:08 +020086 # password: gamma
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010087 # userCredsExternalSecret: some secret
Taka Cho31eb2452019-06-24 21:10:50 -040088 odlUid: 100
89 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040090 ansibleServiceName: appc-ansible-server
91 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000092 mariadbGaleraSVCName: appc-dbhost
93 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040094 enableAAF: true
95 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050096 configDir: /opt/onap/appc/data/properties
97 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050098 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030099 logstashServiceName: log-ls
100 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -0500101 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -0400102 openStackType: OpenStackProvider
103 openStackName: OpenStack
104 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
105 openStackServiceTenantName: default
106 openStackDomain: default
107 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +0000108 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -0500109 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -0800110 dmaapServiceUrl: http://localhost:8080/publish
111 dmaapServiceUser: appc
112 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -0500113
Aaron Hay343e6002018-08-21 13:55:00 -0400114appc-ansible-server:
115 service:
116 name: appc-ansible-server
117 internalPort: 8000
118 config:
119 mysqlServiceName: appc-dbhost
120
pramod47b1b822018-08-28 15:41:45 +0000121mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -0500122 nameOverride: appc-db
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100123 config:
124 mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
Mike Elliott13fed112018-02-28 08:33:33 -0500125 service:
126 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -0400127 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -0500128 nfsprovisionerPrefix: appc
129 sdnctlPrefix: appc
130 persistence:
131 mountSubPath: appc/data
132 enabled: true
133 disableNfsProvisioner: true
134
135dgbuilder:
136 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +0000137 config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100138 db:
139 rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
140 userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds'
jmac99ff3972018-03-29 01:02:42 +0000141 dbPodName: appc-db
142 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +0000143 service:
144 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +0000145
Taka Cho96a53f72020-03-13 15:42:34 -0400146#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -0700147appc-cdt:
Taka Cho96a53f72020-03-13 15:42:34 -0400148 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500149# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400150replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500151
152nodeSelector: {}
153
154affinity: {}
155
156# probe configuration parameters
157liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400158 initialDelaySeconds: 300
159 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500160 # necessary to disable liveness probe when setting breakpoints
161 # in debugger so K8s doesn't restart unresponsive container
162 enabled: true
163
164readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400165 initialDelaySeconds: 300
166 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500167
168service:
169 type: NodePort
170 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000171 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500172
Taka Cho96a53f72020-03-13 15:42:34 -0400173 internalPort: 8443
174 externalPort: 8443
175 nodePort: 30
Taka Cho3c29d5f2019-09-04 15:38:31 -0400176
Taka Cho96a53f72020-03-13 15:42:34 -0400177 externalPort2: 1830
178 nodePort2: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500179 clusterPort: 2550
180
Taka Cho96a53f72020-03-13 15:42:34 -0400181 internalPort3: 9191
182 externalPort3: 9090
183 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700184
BorislavG3dad2f42018-04-16 10:19:45 +0000185## Persist data to a persitent volume
186persistence:
187 enabled: true
188
189 ## A manually managed Persistent Volume and Claim
190 ## Requires persistence.enabled: true
191 ## If defined, PVC must be created manually before volume will be bound
192 # existingClaim:
193 volumeReclaimPolicy: Retain
194
195 ## database data Persistent Volume Storage Class
196 ## If defined, storageClassName: <storageClass>
197 ## If set to "-", storageClassName: "", which disables dynamic provisioning
198 ## If undefined (the default) or set to null, no storageClassName spec is
199 ## set, choosing the default provisioner. (gp2 on AWS, standard on
200 ## GKE, AWS & OpenStack)
201 accessMode: ReadWriteOnce
202 size: 1Gi
203 mountPath: /dockerdata-nfs
204 mountSubPath: appc/mdsal
205 mdsalPath: /opt/opendaylight/current/daexim
206
Mike Elliott13fed112018-02-28 08:33:33 -0500207ingress:
208 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100209 service:
210 - baseaddr: appc
211 name: "appc"
212 port: 8443
213 config:
214 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500215
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000216# Configure resource requests and limits
217# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400218resources:
219 small:
220 limits:
221 cpu: 2
222 memory: 4Gi
223 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000224 cpu: 1
225 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400226 large:
227 limits:
228 cpu: 4
229 memory: 8Gi
230 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000231 cpu: 2
232 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000233 unlimited: {}