blob: 1b1c9443150548194a2c4311b476b9a662f14b7e [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
Aaron Hayd46d63f2018-11-13 00:34:05 -050034image: onap/appc-image:1.4.1-SNAPSHOT-latest
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:
Aaron Hay343e6002018-08-21 13:55:00 -040042 ansibleServiceName: appc-ansible-server
43 ansiblePort: 8000
pramod47b1b822018-08-28 15:41:45 +000044 mariadbRootPassword: secretpassword
45 userName: my-user
46 userPassword: my-password
47 mysqlDatabase: my-database
48 mariadbGaleraSVCName: appc-dbhost
49 mariadbGaleraContName: appc-db
Aaron Haya11a92a2018-10-29 14:17:02 -040050 enableAAF: true
51 enableClustering: false
Mike Elliott13fed112018-02-28 08:33:33 -050052 configDir: /opt/onap/appc/data/properties
53 dmaapTopic: SUCCESS
BorislavG5f3b6192018-03-25 18:12:38 +030054 logstashServiceName: log-ls
55 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050056 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040057 openStackType: OpenStackProvider
58 openStackName: OpenStack
59 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
60 openStackServiceTenantName: default
61 openStackDomain: default
62 openStackUserName: admin
63 openStackEncryptedPassword: admin
Aaron Hayd46d63f2018-11-13 00:34:05 -050064 odlUser: admin
Mike Elliott13fed112018-02-28 08:33:33 -050065
Aaron Hay343e6002018-08-21 13:55:00 -040066appc-ansible-server:
67 service:
68 name: appc-ansible-server
69 internalPort: 8000
70 config:
71 mysqlServiceName: appc-dbhost
72
pramod47b1b822018-08-28 15:41:45 +000073mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -050074 nameOverride: appc-db
75 service:
76 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -040077 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -050078 nfsprovisionerPrefix: appc
79 sdnctlPrefix: appc
80 persistence:
81 mountSubPath: appc/data
82 enabled: true
83 disableNfsProvisioner: true
84
85dgbuilder:
86 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +000087 config:
88 dbPodName: appc-db
89 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +000090 service:
91 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +000092
93#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -070094appc-cdt:
mayankg270341a66142018-06-06 07:53:35 +000095 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -050096# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -040097replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -050098
99nodeSelector: {}
100
101affinity: {}
102
103# probe configuration parameters
104liveness:
105 initialDelaySeconds: 10
106 periodSeconds: 10
107 # necessary to disable liveness probe when setting breakpoints
108 # in debugger so K8s doesn't restart unresponsive container
109 enabled: true
110
111readiness:
112 initialDelaySeconds: 10
113 periodSeconds: 10
114
115service:
116 type: NodePort
117 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000118 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500119 #targetPort
120 internalPort: 8181
121 #port
122 externalPort: 8282
123 nodePort: 30
124
125 externalPort2: 1830
126 nodePort2: 31
127 clusterPort: 2550
128
Patrick Brady140deb92018-05-23 08:56:24 -0700129 internalPort3: 9191
130 externalPort3: 9090
Mike Elliottfc816f62018-05-30 16:30:46 -0400131 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700132
BorislavG3dad2f42018-04-16 10:19:45 +0000133## Persist data to a persitent volume
134persistence:
135 enabled: true
136
137 ## A manually managed Persistent Volume and Claim
138 ## Requires persistence.enabled: true
139 ## If defined, PVC must be created manually before volume will be bound
140 # existingClaim:
141 volumeReclaimPolicy: Retain
142
143 ## database data Persistent Volume Storage Class
144 ## If defined, storageClassName: <storageClass>
145 ## If set to "-", storageClassName: "", which disables dynamic provisioning
146 ## If undefined (the default) or set to null, no storageClassName spec is
147 ## set, choosing the default provisioner. (gp2 on AWS, standard on
148 ## GKE, AWS & OpenStack)
149 accessMode: ReadWriteOnce
150 size: 1Gi
151 mountPath: /dockerdata-nfs
152 mountSubPath: appc/mdsal
153 mdsalPath: /opt/opendaylight/current/daexim
154
Mike Elliott13fed112018-02-28 08:33:33 -0500155ingress:
156 enabled: false
157
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000158# Configure resource requests and limits
159# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400160resources:
161 small:
162 limits:
163 cpu: 2
164 memory: 4Gi
165 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000166 cpu: 1
167 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400168 large:
169 limits:
170 cpu: 4
171 memory: 8Gi
172 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000173 cpu: 2
174 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000175 unlimited: {}