blob: 0d6589dabc24cfd6df248b5accd7b1eab457609f [file] [log] [blame]
vaibhav_16dec0e58a662018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
vaibhav_16dec0e58a662018-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
kj6a8ce802018-03-19 15:07:44 +020016# Default values for aai.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
21 repository: nexus3.onap.org:10001
kj6a8ce802018-03-19 15:07:44 +020022 dockerhubRepository: docker.io
23 busyboxImage: busybox
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040024
kj6a8ce802018-03-19 15:07:44 +020025 readinessRepository: oomk8s
Mahendra Raghuwanshi25e936b2019-03-15 06:42:07 +000026 readinessImage: readiness-check:2.0.2
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040027
kj6a8ce802018-03-19 15:07:44 +020028 loggingRepository: docker.elastic.co
29 loggingImage: beats/filebeat:5.5.0
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040030
kj6a8ce802018-03-19 15:07:44 +020031 restartPolicy: Always
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040032
Ravi Geda375666c2018-09-30 21:14:41 +010033 installSidecarSecurity: false
Kajur, Harish (vk250x)a8a554c2018-11-07 12:51:35 -050034 aafEnabled: true
Ravi Geda375666c2018-09-30 21:14:41 +010035
36 fproxy:
37 name: forward-proxy
38 activeSpringProfiles: noHostVerification,cadi
39 image: onap/fproxy:2.1-STAGING-latest
40 port: 10680
41
42 rproxy:
43 name: reverse-proxy
44 activeSpringProfiles: noHostVerification,cadi
45 image: onap/rproxy:2.1-STAGING-latest
46 port: 10692
47
48 tproxyConfig:
49 name: init-tproxy-config
50 image: onap/tproxy-config:2.1-STAGING-latest
51
52 # AAF server details. Only needed if the AAF DNS does not resolve from the pod
53 aaf:
54 serverIp: 10.12.6.214
55 serverHostname: aaf.osaaf.org
56 serverPort: 30247
57
vagrant62ddc7d2018-03-10 23:56:32 +000058 cassandra:
Mahendra Raghuwanshi105cbb92019-03-20 06:36:19 +000059 #This will instantiate AAI cassandra cluster, default:shared cassandra.
60 localCluster: false
61
62 #Service Name of the cassandra cluster to connect to.
63 #Override it to aai-cassandra if localCluster is enabled.
64 serviceName: cassandra
65
mahendrr4741afb2019-05-03 08:51:40 +000066 #This should be same as shared cassandra instance or if localCluster is enabled
67 #then it should be same as aai-cassandra replicaCount
vagrant62ddc7d2018-03-10 23:56:32 +000068 replicas: 3
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040069
mahendrr4741afb2019-05-03 08:51:40 +000070 #Cassanara login details
71 username: cassandra
72 password: cassandra
73
Keren Joseph29f11ab2018-04-22 15:22:46 +030074 aai:
BorislavGdd207052018-05-22 11:31:39 +000075 serviceName: aai
Keren Joseph29f11ab2018-04-22 15:22:46 +030076 babel:
77 serviceName: aai-babel
78 champ:
79 serviceName: aai-champ
80 aaiElasticsearch:
81 serviceName: aai-elasticsearch
Keren Joseph29f11ab2018-04-22 15:22:46 +030082 resources:
83 serviceName: aai-resources
84 sparkyBe:
85 serviceName: aai-sparky-be
86 dataRouter:
87 serviceName: aai-data-router
88 gizmo:
89 serviceName: aai-gizmo
90 modelloader:
91 serviceName: aai-modelloader
92 searchData:
93 serviceName: aai-search-data
94 traversal:
95 serviceName: aai-traversal
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040096 graphadmin:
97 serviceName: aai-graphadmin
Michael Arrastia0e102f62018-08-21 13:36:27 +010098 spike:
99 serviceName: aai-spike
Keren Joseph29f11ab2018-04-22 15:22:46 +0300100
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400101 initContainers:
102 enabled: true
103 # Specifies a list of jobs to be run
104 jobs:
105 # When enabled, it will create the schema based on oxm and edge rules
106 createSchema:
107 enabled: true
108 # When enabled, it will create the widget models via REST API to haproxy
109 updateQueryData:
110 enabled: true
Mahendra Raghuwanshi105cbb92019-03-20 06:36:19 +0000111 #migration using helm hooks
112 migration:
113 enabled: false
114 remoteCassandra:
115 enabled: false
116 storage:
117 backend: cassandra
118 hostname: 10.10.10.10
119 connectionTimeout: 100000
120 cacheSize: 1000000
121 keyConsistent: true
122
123 #If backend is cql or cassandra it should be keyspace name
124 #else backend is hbase it should be hbase table name
125 name: aaigraph
126
127 ## CQL driver specific properties for janusgraph
128 # cql:
129 # #Name of the Cassandra Cluster
130 # cluster: someclustername
131 # readConsistency: QUORUM
132 # writeConsistency: QUORUM
133 # replicationFactor: 3
134 # localConsistencyForSysOps: true
135
136 ## Cassandra driver specific properties for janusgraph
137 cassandra:
138 #Name of the Cassandra Cluster
139 clusterName: aai-cluster
140 localDataCenter: Pod lab
141 readConsistency: LOCAL_QUORUM
142 writeConsistency: LOCAL_QUORUM
143 replicationFactor: 3
144
145 #storage:
146 # backend: cassandra
147 # hostname: somehost1,somehost2,somehost3
148 # connectionTimeout: 100000
149 # cacheSize: 1000000
150 # clusterName: someClusterName
151 # localDataCenter: someDataCenter
152 # keyConsistent: true
153 # #If backend is cql or cassandra it should be keyspace name
154 # #else backend is hbase it should be hbase table name
155 # name: your_hbase_table_or_keyspace_name
156
157 ## CQL driver specific properties for janusgraph
158 # cql:
159 # #Name of the Cassandra Cluster
160 # cluster: someclustername
161 # readConsistency: QUORUM
162 # writeConsistency: QUORUM
163 # replicationFactor: 3
164 # localConsistencyForSysOps: true
165
166 ## Cassandra driver specific properties for janusgraph
167 # cassandra:
168 # #Name of the Cassandra Cluster
169 # cluster: someclustername
170 # readConsistency: LOCAL_QUORUM
171 # writeConsistency: LOCAL_QUORUM
172 # replicationFactor: 3
173
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400174
175 # Common configuration for resources traversal and graphadmin
176 config:
177 # User information for the admin user in container
178 userId: 1000
179 groupId: 1000
180
181 # Specifies that the cluster connected to a dynamic
182 # cluster being spinned up by kubernetes deployment
183 cluster:
184 cassandra:
185 dynamic: true
186
187 # If cluster.cassandra.dynamic is set to false
188 # Then the following configuration should be uncommented
189 # This is if you are planning to connect to a existing
190 # Cassandra cluster instead of doing the deployment
191 #storage:
192 # backend: cassandra
193 # hostname: somehost1,somehost2,somehost3
194 # connectionTimeout: 100000
195 # cacheSize: 1000000
196 # clusterName: someClusterName
197 # localDataCenter: someDataCenter
198 # keyConsistent: true
199 # # If backend is cql or cassandra it should be keyspace name
200 # # else backend is hbase it should be hbase table name
201 # name: your_hbase_table_or_keyspace_name
202
203 # # CQL driver specific properties for janusgraph
204 # cql:
205 # # Name of the Cassandra Cluster
206 # cluster: someclustername
207 # readConsistency: QUORUM
208 # writeConsistency: QUORUM
209 # replicationFactor: 3
210 # localConsistencyForSysOps: true
211
212 # # Cassandra driver specific properties for janusgraph
213 # cassandra:
214 # # Name of the Cassandra Cluster
215 # cluster: someclustername
216 # readConsistency: LOCAL_QUORUM
217 # writeConsistency: LOCAL_QUORUM
218 # replicationFactor: 3
219
220 # Specifies if the basic authorization is enabled
221 basic:
222 auth:
223 enabled: true
224 username: AAI
225 passwd: AAI
226
227 # Active spring profiles for the resources microservice
228 profiles:
Kajur, Harish (vk250x)18556c82018-10-25 18:08:18 -0400229 active: production,dmaap,aaf-auth
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400230
231 # Notification event specific properties
232 notification:
233 eventType: AAI-EVENT
234 domain: dev
235
236 # Schema specific properties that include supported versions of api
237 schema:
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500238 # Specifies if the connection should be one way ssl, two way ssl or no auth
239 service:
240 client: one-way-ssl
241 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
242 translator:
243 list: schema-service
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400244 source:
245 # Specifies which folder to take a look at
246 name: onap
247 uri:
248 # Base URI Path of the application
249 base:
250 path: /aai
251 version:
252 # Current version of the REST API
253 api:
Harish Venkata Kajur3c90a1f2019-03-12 14:11:15 -0400254 default: v16
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400255 # Specifies which version the depth parameter is configurable
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500256 depth: v11
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400257 # List of all the supported versions of the API
Harish Venkata Kajur3c90a1f2019-03-12 14:11:15 -0400258 list: v11,v12,v13,v14,v15,v16
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400259 # Specifies from which version related link should appear
260 related:
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500261 link: v11
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400262 # Specifies from which version the app root change happened
263 app:
264 root: v11
265 # Specifies from which version the xml namespace changed
266 namespace:
267 change: v12
268 # Specifies from which version the edge label appeared in API
269 edge:
270 label: v12
271
272 # Keystore configuration password and filename
273 keystore:
274 filename: aai_keystore
275 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
276
277 # Truststore configuration password and filename
278 truststore:
279 filename: aai_keystore
280 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
281
282 # Specifies a list of files to be included in auth volume
283 auth:
284 files:
285 - aai_keystore
286
287 # Specifies which clients should always default to realtime graph connection
288 realtime:
289 clients: SDNC,MSO,SO,robot-ete
290
291 # Logback debug enabled
292 logback:
293 console:
294 # If enabled, container will print all logback to standard output
295 # This will make debugging much easier but it should only be done
296 # when debugging the issue and changed back as it can affect performance
297 # since when this is enabled, it prints a lot of information to console
298 enabled: false
kj6a8ce802018-03-19 15:07:44 +0200299
300# application image
301dockerhubRepository: registry.hub.docker.com
Harish Venkata Kajur839bd442019-04-11 12:36:01 -0400302image: aaionap/haproxy:1.4.0
kerenj3db4be52017-08-24 11:32:22 +0000303pullPolicy: Always
Alexis de Talhouëtd97a78c2017-12-11 08:36:25 -0500304
rajeshkalai442b8f02018-09-18 16:55:39 -0400305flavor: small
306
kj6a8ce802018-03-19 15:07:44 +0200307# flag to enable debugging - application support required
308debugEnabled: false
Jerome Doucerain9e5c7572018-03-17 14:18:41 -0400309
kj6a8ce802018-03-19 15:07:44 +0200310# application configuration
BorislavGe3b6f912018-03-25 18:12:38 +0300311config:
312 logstashServiceName: log-ls
313 logstashPort: 5044
314
kj6a8ce802018-03-19 15:07:44 +0200315# default number of instances
316replicaCount: 1
317
318nodeSelector: {}
319
320affinity: {}
321
322# probe configuration parameters
323liveness:
324 initialDelaySeconds: 10
325 periodSeconds: 10
326 # necessary to disable liveness probe when setting breakpoints
327 # in debugger so K8s doesn't restart unresponsive container
328 enabled: true
329
Mahendra Raghuwanshi105cbb92019-03-20 06:36:19 +0000330#This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use.
331#Below command will instantiate the aai cassandra instances:
332#helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \
333# --set aai.global.cassandra.localCluster=true \
334# --set aai.global.cassandra.serviceName=aai-cassandra
335cassandra:
336 nameOverride: aai-cassandra
337 replicaCount: 3
338 service:
339 name: aai-cassandra
340 persistence:
341 mountSubPath: aai/cassandra
342 enabled: true
343
kj6a8ce802018-03-19 15:07:44 +0200344readiness:
345 initialDelaySeconds: 10
346 periodSeconds: 10
347
348service:
349 type: NodePort
Harish Venkata Kajur0f43cf52019-04-26 15:13:09 -0400350 portName: aai-ssl
351 externalPort: 8443
352 internalPort: 8443
353 nodePort: 33
BorislavGdd207052018-05-22 11:31:39 +0000354 # POLICY hotfix - Note this must be temporary
355 # See https://jira.onap.org/browse/POLICY-510
356 aaiServiceClusterIp:
kj6a8ce802018-03-19 15:07:44 +0200357
358ingress:
359 enabled: false
360
rajeshkalai442b8f02018-09-18 16:55:39 -0400361resources:
362 small:
363 limits:
364 cpu: 2
365 memory: 4Gi
366 requests:
Mandeep Khinda654dbb52018-09-19 23:56:37 +0000367 cpu: 1
368 memory: 1Gi
rajeshkalai442b8f02018-09-18 16:55:39 -0400369 large:
370 limits:
371 cpu: 4
372 memory: 8Gi
373 requests:
Mandeep Khinda654dbb52018-09-19 23:56:37 +0000374 cpu: 2
375 memory: 2Gi
Ravi Geda375666c2018-09-30 21:14:41 +0100376 unlimited: {}