blob: e3f88b1c3706b2afdd078cc9570cf5646cec7d5e [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
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020021 centralizedLoggingEnabled: false
jmac99ff3972018-03-29 01:02:42 +000022 persistence:
23 mountPath: /dockerdata-nfs
Mike Elliott13fed112018-02-28 08:33:33 -050024
25#################################################################
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: "db-root-pass"
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010030 name: '{{ include "common.release" . }}-appc-db-root-pass'
31 externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}'
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010032 type: password
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010033 password: '{{ .Values.config.dbRootPass }}'
34 - uid: 'appcdb-user-creds'
35 name: '{{ include "common.release" . }}-appcdb-user-creds'
36 type: basicAuth
37 externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}'
38 login: '{{ .Values.config.appcdb.userName }}'
39 password: '{{ .Values.config.appcdb.password }}'
40 - uid: 'sdncdb-user-creds'
41 name: '{{ include "common.release" . }}-sdncdb-user-creds'
42 type: basicAuth
43 externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}'
44 login: '{{ .Values.config.sdncdb.userName }}'
45 password: '{{ .Values.config.sdncdb.password }}'
46
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010047
48#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050049# Application configuration defaults.
50#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040051flavor: small
Mike Elliott13fed112018-02-28 08:33:33 -050052# application image
Taka Chof9cd2cd2020-05-23 09:27:19 -040053image: onap/appc-image:1.7.2
kerenj6ca15a72017-08-23 12:05:23 +000054pullPolicy: Always
Mike Elliott13fed112018-02-28 08:33:33 -050055
56# flag to enable debugging - application support required
57debugEnabled: false
58
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020059# log configuration
60log:
61 path: /var/log/onap
62
Mike Elliott13fed112018-02-28 08:33:33 -050063# application configuration
64config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010065# dbRootPassExternalSecret: some secret
66# dbRootPass: password
67 appcdb:
68 # Warning: changing this config option may not work.
69 # It seems that the DB name is hardcoded.
70 dbName: appcctl
71 userName: appcctl
Krzysztof Opasiakc3365802020-04-24 19:50:48 +020072 # password: appcctl
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010073 # userCredsExternalSecret: some secret
74 sdncdb:
75 # Warning: changing this config option may not work.
76 # It seems that the DB name is hardcoded.
77 dbName: sdnctl
78 userName: sdnctl
Krzysztof Opasiakf3569b82020-04-24 19:53:08 +020079 # password: gamma
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010080 # userCredsExternalSecret: some secret
Taka Cho31eb2452019-06-24 21:10:50 -040081 odlUid: 100
82 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040083 ansibleServiceName: appc-ansible-server
84 ansiblePort: 8000
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010085 mariadbGaleraSVCName: &appc-db appc-db
86 mariadbGaleraContName: *appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040087 enableAAF: true
88 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050089 configDir: /opt/onap/appc/data/properties
90 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050091 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030092 logstashServiceName: log-ls
93 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050094 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040095 openStackType: OpenStackProvider
96 openStackName: OpenStack
97 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
98 openStackServiceTenantName: default
99 openStackDomain: default
100 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +0000101 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -0500102 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -0800103 dmaapServiceUrl: http://localhost:8080/publish
104 dmaapServiceUser: appc
105 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -0500106
Aaron Hay343e6002018-08-21 13:55:00 -0400107appc-ansible-server:
Sylvain Desbureaux856fce12020-11-21 22:48:15 +0100108 enabled: true
Aaron Hay343e6002018-08-21 13:55:00 -0400109 service:
110 name: appc-ansible-server
111 internalPort: 8000
112 config:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100113 mysqlServiceName: *appc-db
Aaron Hay343e6002018-08-21 13:55:00 -0400114
Sylvain Desbureaux856fce12020-11-21 22:48:15 +0100115appc-cdt:
116 enabled: true
117
pramod47b1b822018-08-28 15:41:45 +0000118mariadb-galera:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100119 nameOverride: *appc-db
120 rootUser:
121 externalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
Mike Elliott13fed112018-02-28 08:33:33 -0500122 service:
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100123 name: *appc-db
Mike Elliott13fed112018-02-28 08:33:33 -0500124 nfsprovisionerPrefix: appc
125 sdnctlPrefix: appc
126 persistence:
127 mountSubPath: appc/data
128 enabled: true
129 disableNfsProvisioner: true
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100130 serviceAccount:
131 nameOverride: *appc-db
Sylvain Desbureaux4d047062021-05-05 17:16:57 +0200132 replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500133
134dgbuilder:
135 nameOverride: appc-dgbuilder
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400136 certInitializer:
137 nameOverride: appc-dgbuilder-cert-initializer
jmac99ff3972018-03-29 01:02:42 +0000138 config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100139 db:
140 rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
141 userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds'
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100142 dbPodName: *appc-db
143 dbServiceName: *appc-db
BorislavG1ffbd992018-04-24 07:56:27 +0000144 service:
145 name: appc-dgbuilder
farida azmydc9aef02021-04-07 17:07:09 +0200146 serviceAccount:
147 nameOverride: appc-dgbuilder
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200148 ingress:
149 enabled: false
150 service:
151 - baseaddr: "appc-dgbuilder"
152 name: "appc-dgbuilder"
153 port: 3000
154 config:
155 ssl: "redirect"
156
Taka Cho96a53f72020-03-13 15:42:34 -0400157#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -0700158appc-cdt:
Taka Cho96a53f72020-03-13 15:42:34 -0400159 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500160# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400161replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500162
163nodeSelector: {}
164
165affinity: {}
166
167# probe configuration parameters
168liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400169 initialDelaySeconds: 300
170 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500171 # necessary to disable liveness probe when setting breakpoints
172 # in debugger so K8s doesn't restart unresponsive container
173 enabled: true
174
175readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400176 initialDelaySeconds: 300
177 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500178
179service:
180 type: NodePort
181 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000182 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500183
Taka Cho96a53f72020-03-13 15:42:34 -0400184 internalPort: 8443
185 externalPort: 8443
186 nodePort: 30
Taka Cho3c29d5f2019-09-04 15:38:31 -0400187
Taka Cho96a53f72020-03-13 15:42:34 -0400188 externalPort2: 1830
189 nodePort2: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500190 clusterPort: 2550
191
Taka Cho96a53f72020-03-13 15:42:34 -0400192 internalPort3: 9191
193 externalPort3: 9090
194 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700195
BorislavG3dad2f42018-04-16 10:19:45 +0000196## Persist data to a persitent volume
197persistence:
198 enabled: true
199
200 ## A manually managed Persistent Volume and Claim
201 ## Requires persistence.enabled: true
202 ## If defined, PVC must be created manually before volume will be bound
203 # existingClaim:
204 volumeReclaimPolicy: Retain
205
206 ## database data Persistent Volume Storage Class
207 ## If defined, storageClassName: <storageClass>
208 ## If set to "-", storageClassName: "", which disables dynamic provisioning
209 ## If undefined (the default) or set to null, no storageClassName spec is
210 ## set, choosing the default provisioner. (gp2 on AWS, standard on
211 ## GKE, AWS & OpenStack)
212 accessMode: ReadWriteOnce
213 size: 1Gi
214 mountPath: /dockerdata-nfs
215 mountSubPath: appc/mdsal
216 mdsalPath: /opt/opendaylight/current/daexim
217
Mike Elliott13fed112018-02-28 08:33:33 -0500218ingress:
219 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100220 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000221 - baseaddr: "appc.api"
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100222 name: "appc"
223 port: 8443
224 config:
225 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500226
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000227# Configure resource requests and limits
228# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400229resources:
230 small:
231 limits:
232 cpu: 2
233 memory: 4Gi
234 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000235 cpu: 1
236 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400237 large:
238 limits:
239 cpu: 4
240 memory: 8Gi
241 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000242 cpu: 2
243 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000244 unlimited: {}