blob: 8b3ce26d523bf60310782f78946173e775c6efa2 [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 Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020022 centralizedLoggingEnabled: false
Mike Elliott13fed112018-02-28 08:33:33 -050023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010025 # envsusbt
26 envsubstImage: dibi/envsubst
jmac99ff3972018-03-29 01:02:42 +000027 persistence:
28 mountPath: /dockerdata-nfs
Mike Elliott13fed112018-02-28 08:33:33 -050029
30#################################################################
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010031# Secrets metaconfig
32#################################################################
33secrets:
34 - uid: "db-root-pass"
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010035 name: '{{ include "common.release" . }}-appc-db-root-pass'
36 externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}'
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010037 type: password
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010038 password: '{{ .Values.config.dbRootPass }}'
39 - uid: 'appcdb-user-creds'
40 name: '{{ include "common.release" . }}-appcdb-user-creds'
41 type: basicAuth
42 externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}'
43 login: '{{ .Values.config.appcdb.userName }}'
44 password: '{{ .Values.config.appcdb.password }}'
45 - uid: 'sdncdb-user-creds'
46 name: '{{ include "common.release" . }}-sdncdb-user-creds'
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}'
49 login: '{{ .Values.config.sdncdb.userName }}'
50 password: '{{ .Values.config.sdncdb.password }}'
51
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010052
53#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050054# Application configuration defaults.
55#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040056flavor: small
Mike Elliott13fed112018-02-28 08:33:33 -050057# application image
58repository: nexus3.onap.org:10001
Taka Chof9cd2cd2020-05-23 09:27:19 -040059image: onap/appc-image:1.7.2
kerenj6ca15a72017-08-23 12:05:23 +000060pullPolicy: Always
Mike Elliott13fed112018-02-28 08:33:33 -050061
62# flag to enable debugging - application support required
63debugEnabled: false
64
Sylvain Desbureaux531d03f2020-04-22 10:37:45 +020065# log configuration
66log:
67 path: /var/log/onap
68
Mike Elliott13fed112018-02-28 08:33:33 -050069# application configuration
70config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010071# dbRootPassExternalSecret: some secret
72# dbRootPass: password
73 appcdb:
74 # Warning: changing this config option may not work.
75 # It seems that the DB name is hardcoded.
76 dbName: appcctl
77 userName: appcctl
Krzysztof Opasiakc3365802020-04-24 19:50:48 +020078 # password: appcctl
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010079 # userCredsExternalSecret: some secret
80 sdncdb:
81 # Warning: changing this config option may not work.
82 # It seems that the DB name is hardcoded.
83 dbName: sdnctl
84 userName: sdnctl
Krzysztof Opasiakf3569b82020-04-24 19:53:08 +020085 # password: gamma
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010086 # userCredsExternalSecret: some secret
Taka Cho31eb2452019-06-24 21:10:50 -040087 odlUid: 100
88 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040089 ansibleServiceName: appc-ansible-server
90 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000091 mariadbGaleraSVCName: appc-dbhost
92 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040093 enableAAF: true
94 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050095 configDir: /opt/onap/appc/data/properties
96 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050097 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030098 logstashServiceName: log-ls
99 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -0500100 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -0400101 openStackType: OpenStackProvider
102 openStackName: OpenStack
103 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
104 openStackServiceTenantName: default
105 openStackDomain: default
106 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +0000107 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -0500108 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -0800109 dmaapServiceUrl: http://localhost:8080/publish
110 dmaapServiceUser: appc
111 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -0500112
Aaron Hay343e6002018-08-21 13:55:00 -0400113appc-ansible-server:
114 service:
115 name: appc-ansible-server
116 internalPort: 8000
117 config:
118 mysqlServiceName: appc-dbhost
119
pramod47b1b822018-08-28 15:41:45 +0000120mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -0500121 nameOverride: appc-db
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100122 config:
123 mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
Mike Elliott13fed112018-02-28 08:33:33 -0500124 service:
125 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -0400126 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -0500127 nfsprovisionerPrefix: appc
128 sdnctlPrefix: appc
129 persistence:
130 mountSubPath: appc/data
131 enabled: true
132 disableNfsProvisioner: true
133
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'
jmac99ff3972018-03-29 01:02:42 +0000142 dbPodName: appc-db
143 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +0000144 service:
145 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +0000146
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200147 ingress:
148 enabled: false
149 service:
150 - baseaddr: "appc-dgbuilder"
151 name: "appc-dgbuilder"
152 port: 3000
153 config:
154 ssl: "redirect"
155
Taka Cho96a53f72020-03-13 15:42:34 -0400156#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -0700157appc-cdt:
Taka Cho96a53f72020-03-13 15:42:34 -0400158 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500159# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400160replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500161
162nodeSelector: {}
163
164affinity: {}
165
166# probe configuration parameters
167liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400168 initialDelaySeconds: 300
169 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500170 # necessary to disable liveness probe when setting breakpoints
171 # in debugger so K8s doesn't restart unresponsive container
172 enabled: true
173
174readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400175 initialDelaySeconds: 300
176 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500177
178service:
179 type: NodePort
180 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000181 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500182
Taka Cho96a53f72020-03-13 15:42:34 -0400183 internalPort: 8443
184 externalPort: 8443
185 nodePort: 30
Taka Cho3c29d5f2019-09-04 15:38:31 -0400186
Taka Cho96a53f72020-03-13 15:42:34 -0400187 externalPort2: 1830
188 nodePort2: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500189 clusterPort: 2550
190
Taka Cho96a53f72020-03-13 15:42:34 -0400191 internalPort3: 9191
192 externalPort3: 9090
193 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700194
BorislavG3dad2f42018-04-16 10:19:45 +0000195## Persist data to a persitent volume
196persistence:
197 enabled: true
198
199 ## A manually managed Persistent Volume and Claim
200 ## Requires persistence.enabled: true
201 ## If defined, PVC must be created manually before volume will be bound
202 # existingClaim:
203 volumeReclaimPolicy: Retain
204
205 ## database data Persistent Volume Storage Class
206 ## If defined, storageClassName: <storageClass>
207 ## If set to "-", storageClassName: "", which disables dynamic provisioning
208 ## If undefined (the default) or set to null, no storageClassName spec is
209 ## set, choosing the default provisioner. (gp2 on AWS, standard on
210 ## GKE, AWS & OpenStack)
211 accessMode: ReadWriteOnce
212 size: 1Gi
213 mountPath: /dockerdata-nfs
214 mountSubPath: appc/mdsal
215 mdsalPath: /opt/opendaylight/current/daexim
216
Mike Elliott13fed112018-02-28 08:33:33 -0500217ingress:
218 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100219 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000220 - baseaddr: "appc.api"
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100221 name: "appc"
222 port: 8443
223 config:
224 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500225
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000226# Configure resource requests and limits
227# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400228resources:
229 small:
230 limits:
231 cpu: 2
232 memory: 4Gi
233 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000234 cpu: 1
235 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400236 large:
237 limits:
238 cpu: 4
239 memory: 8Gi
240 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000241 cpu: 2
242 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000243 unlimited: {}