blob: ac96820c353d06756e9f8f23ff10309c677557ac [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
jmac99ff3972018-03-29 01:02:42 +000025 persistence:
26 mountPath: /dockerdata-nfs
Mike Elliott13fed112018-02-28 08:33:33 -050027
28#################################################################
Krzysztof Opasiake74ed5c2020-01-23 11:49:25 +010029# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: "db-root-pass"
33 externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}'
34 type: password
35
36#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050037# Application configuration defaults.
38#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040039flavor: small
Mike Elliott13fed112018-02-28 08:33:33 -050040# application image
41repository: nexus3.onap.org:10001
Taka Cho2bad60e2020-01-27 11:43:09 -050042image: onap/appc-image:1.7.0
kerenj6ca15a72017-08-23 12:05:23 +000043pullPolicy: Always
Mike Elliott13fed112018-02-28 08:33:33 -050044
45# flag to enable debugging - application support required
46debugEnabled: false
47
48# application configuration
49config:
Taka Cho31eb2452019-06-24 21:10:50 -040050 odlUid: 100
51 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040052 ansibleServiceName: appc-ansible-server
53 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000054 userName: my-user
55 userPassword: my-password
56 mysqlDatabase: my-database
57 mariadbGaleraSVCName: appc-dbhost
58 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040059 enableAAF: true
60 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050061 configDir: /opt/onap/appc/data/properties
62 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050063 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030064 logstashServiceName: log-ls
65 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050066 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040067 openStackType: OpenStackProvider
68 openStackName: OpenStack
69 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
70 openStackServiceTenantName: default
71 openStackDomain: default
72 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +000073 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -050074 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -080075 dmaapServiceUrl: http://localhost:8080/publish
76 dmaapServiceUser: appc
77 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -050078
Aaron Hay343e6002018-08-21 13:55:00 -040079appc-ansible-server:
80 service:
81 name: appc-ansible-server
82 internalPort: 8000
83 config:
84 mysqlServiceName: appc-dbhost
85
pramod47b1b822018-08-28 15:41:45 +000086mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -050087 nameOverride: appc-db
88 service:
89 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -040090 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -050091 nfsprovisionerPrefix: appc
92 sdnctlPrefix: appc
93 persistence:
94 mountSubPath: appc/data
95 enabled: true
96 disableNfsProvisioner: true
97
98dgbuilder:
99 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +0000100 config:
101 dbPodName: appc-db
102 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +0000103 service:
104 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +0000105
Taka Cho3c29d5f2019-09-04 15:38:31 -0400106#passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4.
Patrick Brady1a62b662018-05-30 10:56:46 -0700107appc-cdt:
Taka Cho3c29d5f2019-09-04 15:38:31 -0400108 nodePort4: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500109# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400110replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500111
112nodeSelector: {}
113
114affinity: {}
115
116# probe configuration parameters
117liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400118 initialDelaySeconds: 300
119 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500120 # necessary to disable liveness probe when setting breakpoints
121 # in debugger so K8s doesn't restart unresponsive container
122 enabled: true
123
124readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400125 initialDelaySeconds: 300
126 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500127
128service:
129 type: NodePort
130 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000131 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500132
Taka Cho3c29d5f2019-09-04 15:38:31 -0400133 internalPort: 8181
134 externalPort: 8282
135 nodePort: "08"
136
137 internalPort2: 8443
138 externalPort2: 8443
139 nodePort2: 30
140
141 externalPort3: 1830
142 nodePort3: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500143 clusterPort: 2550
144
Taka Cho3c29d5f2019-09-04 15:38:31 -0400145 internalPort4: 9191
146 externalPort4: 9090
147 nodePort4: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700148
BorislavG3dad2f42018-04-16 10:19:45 +0000149## Persist data to a persitent volume
150persistence:
151 enabled: true
152
153 ## A manually managed Persistent Volume and Claim
154 ## Requires persistence.enabled: true
155 ## If defined, PVC must be created manually before volume will be bound
156 # existingClaim:
157 volumeReclaimPolicy: Retain
158
159 ## database data Persistent Volume Storage Class
160 ## If defined, storageClassName: <storageClass>
161 ## If set to "-", storageClassName: "", which disables dynamic provisioning
162 ## If undefined (the default) or set to null, no storageClassName spec is
163 ## set, choosing the default provisioner. (gp2 on AWS, standard on
164 ## GKE, AWS & OpenStack)
165 accessMode: ReadWriteOnce
166 size: 1Gi
167 mountPath: /dockerdata-nfs
168 mountSubPath: appc/mdsal
169 mdsalPath: /opt/opendaylight/current/daexim
170
Mike Elliott13fed112018-02-28 08:33:33 -0500171ingress:
172 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100173 service:
174 - baseaddr: appc
175 name: "appc"
176 port: 8443
177 config:
178 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500179
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000180# Configure resource requests and limits
181# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400182resources:
183 small:
184 limits:
185 cpu: 2
186 memory: 4Gi
187 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000188 cpu: 1
189 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400190 large:
191 limits:
192 cpu: 4
193 memory: 8Gi
194 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000195 cpu: 2
196 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000197 unlimited: {}