blob: fd6e31f133ea1750016f0c6a173d4c7b95279829 [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
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 Cho2bad60e2020-01-27 11:43:09 -050059image: onap/appc-image:1.7.0
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
65# application configuration
66config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +010067# dbRootPassExternalSecret: some secret
68# dbRootPass: password
69 appcdb:
70 # Warning: changing this config option may not work.
71 # It seems that the DB name is hardcoded.
72 dbName: appcctl
73 userName: appcctl
74 password: appcctl
75 # userCredsExternalSecret: some secret
76 sdncdb:
77 # Warning: changing this config option may not work.
78 # It seems that the DB name is hardcoded.
79 dbName: sdnctl
80 userName: sdnctl
81 password: gamma
82 # userCredsExternalSecret: some secret
Taka Cho31eb2452019-06-24 21:10:50 -040083 odlUid: 100
84 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040085 ansibleServiceName: appc-ansible-server
86 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000087 mariadbGaleraSVCName: appc-dbhost
88 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040089 enableAAF: true
90 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050091 configDir: /opt/onap/appc/data/properties
92 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050093 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030094 logstashServiceName: log-ls
95 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050096 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040097 openStackType: OpenStackProvider
98 openStackName: OpenStack
99 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
100 openStackServiceTenantName: default
101 openStackDomain: default
102 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +0000103 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -0500104 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -0800105 dmaapServiceUrl: http://localhost:8080/publish
106 dmaapServiceUser: appc
107 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -0500108
Aaron Hay343e6002018-08-21 13:55:00 -0400109appc-ansible-server:
110 service:
111 name: appc-ansible-server
112 internalPort: 8000
113 config:
114 mysqlServiceName: appc-dbhost
115
pramod47b1b822018-08-28 15:41:45 +0000116mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -0500117 nameOverride: appc-db
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100118 config:
119 mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
Mike Elliott13fed112018-02-28 08:33:33 -0500120 service:
121 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -0400122 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -0500123 nfsprovisionerPrefix: appc
124 sdnctlPrefix: appc
125 persistence:
126 mountSubPath: appc/data
127 enabled: true
128 disableNfsProvisioner: true
129
130dgbuilder:
131 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +0000132 config:
Krzysztof Opasiak967946c2020-02-19 01:44:30 +0100133 db:
134 rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
135 userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds'
jmac99ff3972018-03-29 01:02:42 +0000136 dbPodName: appc-db
137 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +0000138 service:
139 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +0000140
Taka Cho3c29d5f2019-09-04 15:38:31 -0400141#passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4.
Patrick Brady1a62b662018-05-30 10:56:46 -0700142appc-cdt:
Taka Cho3c29d5f2019-09-04 15:38:31 -0400143 nodePort4: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500144# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400145replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500146
147nodeSelector: {}
148
149affinity: {}
150
151# probe configuration parameters
152liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400153 initialDelaySeconds: 300
154 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500155 # necessary to disable liveness probe when setting breakpoints
156 # in debugger so K8s doesn't restart unresponsive container
157 enabled: true
158
159readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400160 initialDelaySeconds: 300
161 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500162
163service:
164 type: NodePort
165 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000166 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500167
Taka Cho3c29d5f2019-09-04 15:38:31 -0400168 internalPort: 8181
169 externalPort: 8282
170 nodePort: "08"
171
172 internalPort2: 8443
173 externalPort2: 8443
174 nodePort2: 30
175
176 externalPort3: 1830
177 nodePort3: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500178 clusterPort: 2550
179
Taka Cho3c29d5f2019-09-04 15:38:31 -0400180 internalPort4: 9191
181 externalPort4: 9090
182 nodePort4: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700183
BorislavG3dad2f42018-04-16 10:19:45 +0000184## Persist data to a persitent volume
185persistence:
186 enabled: true
187
188 ## A manually managed Persistent Volume and Claim
189 ## Requires persistence.enabled: true
190 ## If defined, PVC must be created manually before volume will be bound
191 # existingClaim:
192 volumeReclaimPolicy: Retain
193
194 ## database data Persistent Volume Storage Class
195 ## If defined, storageClassName: <storageClass>
196 ## If set to "-", storageClassName: "", which disables dynamic provisioning
197 ## If undefined (the default) or set to null, no storageClassName spec is
198 ## set, choosing the default provisioner. (gp2 on AWS, standard on
199 ## GKE, AWS & OpenStack)
200 accessMode: ReadWriteOnce
201 size: 1Gi
202 mountPath: /dockerdata-nfs
203 mountSubPath: appc/mdsal
204 mdsalPath: /opt/opendaylight/current/daexim
205
Mike Elliott13fed112018-02-28 08:33:33 -0500206ingress:
207 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100208 service:
209 - baseaddr: appc
210 name: "appc"
211 port: 8443
212 config:
213 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500214
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000215# Configure resource requests and limits
216# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400217resources:
218 small:
219 limits:
220 cpu: 2
221 memory: 4Gi
222 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000223 cpu: 1
224 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400225 large:
226 limits:
227 cpu: 4
228 memory: 8Gi
229 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000230 cpu: 2
231 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000232 unlimited: {}