blob: 4998b2ec5a733d60f825167df4583b1b4d9d3959 [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 Cho74e19322019-06-14 08:55:05 -040034image: onap/appc-image:1.5.2
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
Aaron Hayafb0a092018-11-19 17:52:59 -050054 dmaapTopicEnv: AUTO
BorislavG5f3b6192018-03-25 18:12:38 +030055 logstashServiceName: log-ls
56 logstashPort: 5044
Aaron Hayd46d63f2018-11-13 00:34:05 -050057 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Aaron Hayef1a0ec2018-04-30 01:25:41 -040058 openStackType: OpenStackProvider
59 openStackName: OpenStack
60 openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
61 openStackServiceTenantName: default
62 openStackDomain: default
63 openStackUserName: admin
Joss Armstrong32e90022018-12-17 13:16:57 +000064 openStackEncryptedPassword: enc:LDEbHEAvTF1R
Aaron Hayd46d63f2018-11-13 00:34:05 -050065 odlUser: admin
Mike Elliott13fed112018-02-28 08:33:33 -050066
Aaron Hay343e6002018-08-21 13:55:00 -040067appc-ansible-server:
68 service:
69 name: appc-ansible-server
70 internalPort: 8000
71 config:
72 mysqlServiceName: appc-dbhost
73
pramod47b1b822018-08-28 15:41:45 +000074mariadb-galera:
Mike Elliott13fed112018-02-28 08:33:33 -050075 nameOverride: appc-db
76 service:
77 name: appc-dbhost
Mike Elliott4a9f4352018-09-13 09:47:13 -040078 portName: appc-dbhost
Mike Elliott13fed112018-02-28 08:33:33 -050079 nfsprovisionerPrefix: appc
80 sdnctlPrefix: appc
81 persistence:
82 mountSubPath: appc/data
83 enabled: true
84 disableNfsProvisioner: true
85
86dgbuilder:
87 nameOverride: appc-dgbuilder
jmac99ff3972018-03-29 01:02:42 +000088 config:
89 dbPodName: appc-db
90 dbServiceName: appc-dbhost
BorislavG1ffbd992018-04-24 07:56:27 +000091 service:
92 name: appc-dgbuilder
mayankg270341a66142018-06-06 07:53:35 +000093
94#passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
Patrick Brady1a62b662018-05-30 10:56:46 -070095appc-cdt:
mayankg270341a66142018-06-06 07:53:35 +000096 nodePort3: 11
Mike Elliott13fed112018-02-28 08:33:33 -050097# default number of instances
Roger Maitland6a069972018-05-09 18:23:58 -040098replicaCount: 1
Mike Elliott13fed112018-02-28 08:33:33 -050099
100nodeSelector: {}
101
102affinity: {}
103
104# probe configuration parameters
105liveness:
Taka Chofaf292a2019-04-24 09:59:09 -0400106 initialDelaySeconds: 300
107 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
110 enabled: true
111
112readiness:
Taka Chofaf292a2019-04-24 09:59:09 -0400113 initialDelaySeconds: 300
114 periodSeconds: 60
Mike Elliott13fed112018-02-28 08:33:33 -0500115
116service:
117 type: NodePort
118 name: appc
BorislavG1ffbd992018-04-24 07:56:27 +0000119 portName: appc
Mike Elliott13fed112018-02-28 08:33:33 -0500120 #targetPort
121 internalPort: 8181
122 #port
123 externalPort: 8282
124 nodePort: 30
125
126 externalPort2: 1830
127 nodePort2: 31
128 clusterPort: 2550
129
Patrick Brady140deb92018-05-23 08:56:24 -0700130 internalPort3: 9191
131 externalPort3: 9090
Mike Elliottfc816f62018-05-30 16:30:46 -0400132 nodePort3: 11
Patrick Brady140deb92018-05-23 08:56:24 -0700133
BorislavG3dad2f42018-04-16 10:19:45 +0000134## Persist data to a persitent volume
135persistence:
136 enabled: true
137
138 ## A manually managed Persistent Volume and Claim
139 ## Requires persistence.enabled: true
140 ## If defined, PVC must be created manually before volume will be bound
141 # existingClaim:
142 volumeReclaimPolicy: Retain
143
144 ## database data Persistent Volume Storage Class
145 ## If defined, storageClassName: <storageClass>
146 ## If set to "-", storageClassName: "", which disables dynamic provisioning
147 ## If undefined (the default) or set to null, no storageClassName spec is
148 ## set, choosing the default provisioner. (gp2 on AWS, standard on
149 ## GKE, AWS & OpenStack)
150 accessMode: ReadWriteOnce
151 size: 1Gi
152 mountPath: /dockerdata-nfs
153 mountSubPath: appc/mdsal
154 mdsalPath: /opt/opendaylight/current/daexim
155
Mike Elliott13fed112018-02-28 08:33:33 -0500156ingress:
157 enabled: false
158
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000159# Configure resource requests and limits
160# ref: http://kubernetes.io/docs/user-guide/compute-resources/
GregSulek973bfad2018-09-19 06:48:37 -0400161resources:
162 small:
163 limits:
164 cpu: 2
165 memory: 4Gi
166 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000167 cpu: 1
168 memory: 2Gi
GregSulek973bfad2018-09-19 06:48:37 -0400169 large:
170 limits:
171 cpu: 4
172 memory: 8Gi
173 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000174 cpu: 2
175 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000176 unlimited: {}