blob: 4dfb2263ad972e85e61bda415336b5ea94ae9d82 [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#################################################################
29# Application configuration defaults.
30#################################################################
GregSulek973bfad2018-09-19 06:48:37 -040031flavor: small
Mike Elliott13fed112018-02-28 08:33:33 -050032# application image
33repository: nexus3.onap.org:10001
Taka Choa7acb7f2019-09-25 17:25:39 -040034image: onap/appc-image:1.6.4
kerenj6ca15a72017-08-23 12:05:23 +000035pullPolicy: Always
Mike Elliott13fed112018-02-28 08:33:33 -050036
37# flag to enable debugging - application support required
38debugEnabled: false
39
40# application configuration
41config:
Taka Cho31eb2452019-06-24 21:10:50 -040042 odlUid: 100
43 odlGid: 101
Aaron Hay343e6002018-08-21 13:55:00 -040044 ansibleServiceName: appc-ansible-server
45 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000046 mariadbRootPassword: secretpassword
47 userName: my-user
48 userPassword: my-password
49 mysqlDatabase: my-database
50 mariadbGaleraSVCName: appc-dbhost
51 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040052 enableAAF: true
53 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050054 configDir: /opt/onap/appc/data/properties
55 dmaapTopic: SUCCESS
Aaron Hayafb0a092018-11-19 17:52:59 -050056 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030057 logstashServiceName: log-ls
58 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050059 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040060 openStackType: OpenStackProvider
61 openStackName: OpenStack
62 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
63 openStackServiceTenantName: default
64 openStackDomain: default
65 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +000066 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -050067 odlUser: admin
Patrick Bradyadd45692019-11-06 13:52:17 -080068 dmaapServiceUrl: http://localhost:8080/publish
69 dmaapServiceUser: appc
70 dmaapServicePassword: onapappc
Mike Elliott13fed112018-02-28 08:33:33 -050071
Aaron Hay343e6002018-08-21 13:55:00 -040072appc-ansible-server:
73 service:
74 name: appc-ansible-server
75 internalPort: 8000
76 config:
77 mysqlServiceName: appc-dbhost
78
pramod47b1b822018-08-28 15:41:45 +000079mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -050080 nameOverride: appc-db
81 service:
82 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -040083 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -050084 nfsprovisionerPrefix: appc
85 sdnctlPrefix: appc
86 persistence:
87 mountSubPath: appc/data
88 enabled: true
89 disableNfsProvisioner: true
90
91dgbuilder:
92 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +000093 config:
94 dbPodName: appc-db
95 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +000096 service:
97 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +000098
Taka Cho3c29d5f2019-09-04 15:38:31 -040099#passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4.
Patrick Brady1a62b662018-05-30 10:56:46 -0700100appc-cdt:
Taka Cho3c29d5f2019-09-04 15:38:31 -0400101 nodePort4: 11
Mike Elliott13fed112018-02-28 08:33:33 -0500102# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400103replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500104
105nodeSelector: {}
106
107affinity: {}
108
109# probe configuration parameters
110liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400111 initialDelaySeconds: 300
112 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500113 # necessary to disable liveness probe when setting breakpoints
114 # in debugger so K8s doesn't restart unresponsive container
115 enabled: true
116
117readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400118 initialDelaySeconds: 300
119 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500120
121service:
122 type: NodePort
123 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000124 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500125
Taka Cho3c29d5f2019-09-04 15:38:31 -0400126 internalPort: 8181
127 externalPort: 8282
128 nodePort: "08"
129
130 internalPort2: 8443
131 externalPort2: 8443
132 nodePort2: 30
133
134 externalPort3: 1830
135 nodePort3: 31
Mike Elliott13fed112018-02-28 08:33:33 -0500136 clusterPort: 2550
137
Taka Cho3c29d5f2019-09-04 15:38:31 -0400138 internalPort4: 9191
139 externalPort4: 9090
140 nodePort4: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700141
BorislavG3dad2f42018-04-16 10:19:45 +0000142## Persist data to a persitent volume
143persistence:
144 enabled: true
145
146 ## A manually managed Persistent Volume and Claim
147 ## Requires persistence.enabled: true
148 ## If defined, PVC must be created manually before volume will be bound
149 # existingClaim:
150 volumeReclaimPolicy: Retain
151
152 ## database data Persistent Volume Storage Class
153 ## If defined, storageClassName: <storageClass>
154 ## If set to "-", storageClassName: "", which disables dynamic provisioning
155 ## If undefined (the default) or set to null, no storageClassName spec is
156 ## set, choosing the default provisioner. (gp2 on AWS, standard on
157 ## GKE, AWS & OpenStack)
158 accessMode: ReadWriteOnce
159 size: 1Gi
160 mountPath: /dockerdata-nfs
161 mountSubPath: appc/mdsal
162 mdsalPath: /opt/opendaylight/current/daexim
163
Mike Elliott13fed112018-02-28 08:33:33 -0500164ingress:
165 enabled: false
Lucjan Bryndza684487d2019-12-02 12:20:10 +0100166 service:
167 - baseaddr: appc
168 name: "appc"
169 port: 8443
170 config:
171 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500172
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000173# Configure resource requests and limits
174# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400175resources:
176 small:
177 limits:
178 cpu: 2
179 memory: 4Gi
180 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000181 cpu: 1
182 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400183 large:
184 limits:
185 cpu: 4
186 memory: 8Gi
187 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000188 cpu: 2
189 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000190 unlimited: {}