blob: 6fa7e65ca62a333aff5e73272bc2a582f6c24643 [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 Cho3afc3d32019-06-20 09:56:35 -040034image: onap/appc-image:1.5.3
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
Mike Elliott13fed112018-02-28 08:33:33 -050068
Aaron Hay343e6002018-08-21 13:55:00 -040069appc-ansible-server:
70 service:
71 name: appc-ansible-server
72 internalPort: 8000
73 config:
74 mysqlServiceName: appc-dbhost
75
pramod47b1b822018-08-28 15:41:45 +000076mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -050077 nameOverride: appc-db
78 service:
79 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -040080 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -050081 nfsprovisionerPrefix: appc
82 sdnctlPrefix: appc
83 persistence:
84 mountSubPath: appc/data
85 enabled: true
86 disableNfsProvisioner: true
87
88dgbuilder:
89 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +000090 config:
91 dbPodName: appc-db
92 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +000093 service:
94 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +000095
96#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -070097appc-cdt:
mayankg270341a66142018-06-06 07:53:35 +000098 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -050099# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -0400100replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -0500101
102nodeSelector: {}
103
104affinity: {}
105
106# probe configuration parameters
107liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400108 initialDelaySeconds: 300
109 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500110 # necessary to disable liveness probe when setting breakpoints
111 # in debugger so K8s doesn't restart unresponsive container
112 enabled: true
113
114readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400115 initialDelaySeconds: 300
116 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500117
118service:
119 type: NodePort
120 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000121 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500122 #targetPort
123 internalPort: 8181
124 #port
125 externalPort: 8282
126 nodePort: 30
127
128 externalPort2: 1830
129 nodePort2: 31
130 clusterPort: 2550
131
Patrick Brady140deb92018-05-23 08:56:24 -0700132 internalPort3: 9191
133 externalPort3: 9090
Mike Elliottfc816f62018-05-30 16:30:46 -0400134 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700135
BorislavG3dad2f42018-04-16 10:19:45 +0000136## Persist data to a persitent volume
137persistence:
138 enabled: true
139
140 ## A manually managed Persistent Volume and Claim
141 ## Requires persistence.enabled: true
142 ## If defined, PVC must be created manually before volume will be bound
143 # existingClaim:
144 volumeReclaimPolicy: Retain
145
146 ## database data Persistent Volume Storage Class
147 ## If defined, storageClassName: <storageClass>
148 ## If set to "-", storageClassName: "", which disables dynamic provisioning
149 ## If undefined (the default) or set to null, no storageClassName spec is
150 ## set, choosing the default provisioner. (gp2 on AWS, standard on
151 ## GKE, AWS & OpenStack)
152 accessMode: ReadWriteOnce
153 size: 1Gi
154 mountPath: /dockerdata-nfs
155 mountSubPath: appc/mdsal
156 mdsalPath: /opt/opendaylight/current/daexim
157
Mike Elliott13fed112018-02-28 08:33:33 -0500158ingress:
159 enabled: false
160
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000161# Configure resource requests and limits
162# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400163resources:
164 small:
165 limits:
166 cpu: 2
167 memory: 4Gi
168 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000169 cpu: 1
170 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400171 large:
172 limits:
173 cpu: 4
174 memory: 8Gi
175 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000176 cpu: 2
177 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000178 unlimited: {}