blob: 75f372e1b2f66e98101c3ed02cc33f897b492eb3 [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
66 #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
Keren Joseph29f11ab2018-04-22 15:22:46 +030070 aai:
BorislavGdd207052018-05-22 11:31:39 +000071 serviceName: aai
Keren Joseph29f11ab2018-04-22 15:22:46 +030072 babel:
73 serviceName: aai-babel
74 champ:
75 serviceName: aai-champ
76 aaiElasticsearch:
77 serviceName: aai-elasticsearch
Keren Joseph29f11ab2018-04-22 15:22:46 +030078 resources:
79 serviceName: aai-resources
80 sparkyBe:
81 serviceName: aai-sparky-be
82 dataRouter:
83 serviceName: aai-data-router
84 gizmo:
85 serviceName: aai-gizmo
86 modelloader:
87 serviceName: aai-modelloader
88 searchData:
89 serviceName: aai-search-data
90 traversal:
91 serviceName: aai-traversal
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040092 graphadmin:
93 serviceName: aai-graphadmin
Michael Arrastia0e102f62018-08-21 13:36:27 +010094 spike:
95 serviceName: aai-spike
Keren Joseph29f11ab2018-04-22 15:22:46 +030096
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040097 initContainers:
98 enabled: true
99 # Specifies a list of jobs to be run
100 jobs:
101 # When enabled, it will create the schema based on oxm and edge rules
102 createSchema:
103 enabled: true
104 # When enabled, it will create the widget models via REST API to haproxy
105 updateQueryData:
106 enabled: true
Mahendra Raghuwanshi105cbb92019-03-20 06:36:19 +0000107 #migration using helm hooks
108 migration:
109 enabled: false
110 remoteCassandra:
111 enabled: false
112 storage:
113 backend: cassandra
114 hostname: 10.10.10.10
115 connectionTimeout: 100000
116 cacheSize: 1000000
117 keyConsistent: true
118
119 #If backend is cql or cassandra it should be keyspace name
120 #else backend is hbase it should be hbase table name
121 name: aaigraph
122
123 ## CQL driver specific properties for janusgraph
124 # cql:
125 # #Name of the Cassandra Cluster
126 # cluster: someclustername
127 # readConsistency: QUORUM
128 # writeConsistency: QUORUM
129 # replicationFactor: 3
130 # localConsistencyForSysOps: true
131
132 ## Cassandra driver specific properties for janusgraph
133 cassandra:
134 #Name of the Cassandra Cluster
135 clusterName: aai-cluster
136 localDataCenter: Pod lab
137 readConsistency: LOCAL_QUORUM
138 writeConsistency: LOCAL_QUORUM
139 replicationFactor: 3
140
141 #storage:
142 # backend: cassandra
143 # hostname: somehost1,somehost2,somehost3
144 # connectionTimeout: 100000
145 # cacheSize: 1000000
146 # clusterName: someClusterName
147 # localDataCenter: someDataCenter
148 # keyConsistent: true
149 # #If backend is cql or cassandra it should be keyspace name
150 # #else backend is hbase it should be hbase table name
151 # name: your_hbase_table_or_keyspace_name
152
153 ## CQL driver specific properties for janusgraph
154 # cql:
155 # #Name of the Cassandra Cluster
156 # cluster: someclustername
157 # readConsistency: QUORUM
158 # writeConsistency: QUORUM
159 # replicationFactor: 3
160 # localConsistencyForSysOps: true
161
162 ## Cassandra driver specific properties for janusgraph
163 # cassandra:
164 # #Name of the Cassandra Cluster
165 # cluster: someclustername
166 # readConsistency: LOCAL_QUORUM
167 # writeConsistency: LOCAL_QUORUM
168 # replicationFactor: 3
169
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400170
171 # Common configuration for resources traversal and graphadmin
172 config:
173 # User information for the admin user in container
174 userId: 1000
175 groupId: 1000
176
177 # Specifies that the cluster connected to a dynamic
178 # cluster being spinned up by kubernetes deployment
179 cluster:
180 cassandra:
181 dynamic: true
182
183 # If cluster.cassandra.dynamic is set to false
184 # Then the following configuration should be uncommented
185 # This is if you are planning to connect to a existing
186 # Cassandra cluster instead of doing the deployment
187 #storage:
188 # backend: cassandra
189 # hostname: somehost1,somehost2,somehost3
190 # connectionTimeout: 100000
191 # cacheSize: 1000000
192 # clusterName: someClusterName
193 # localDataCenter: someDataCenter
194 # keyConsistent: true
195 # # If backend is cql or cassandra it should be keyspace name
196 # # else backend is hbase it should be hbase table name
197 # name: your_hbase_table_or_keyspace_name
198
199 # # CQL driver specific properties for janusgraph
200 # cql:
201 # # Name of the Cassandra Cluster
202 # cluster: someclustername
203 # readConsistency: QUORUM
204 # writeConsistency: QUORUM
205 # replicationFactor: 3
206 # localConsistencyForSysOps: true
207
208 # # Cassandra driver specific properties for janusgraph
209 # cassandra:
210 # # Name of the Cassandra Cluster
211 # cluster: someclustername
212 # readConsistency: LOCAL_QUORUM
213 # writeConsistency: LOCAL_QUORUM
214 # replicationFactor: 3
215
216 # Specifies if the basic authorization is enabled
217 basic:
218 auth:
219 enabled: true
220 username: AAI
221 passwd: AAI
222
223 # Active spring profiles for the resources microservice
224 profiles:
Kajur, Harish (vk250x)18556c82018-10-25 18:08:18 -0400225 active: production,dmaap,aaf-auth
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400226
227 # Notification event specific properties
228 notification:
229 eventType: AAI-EVENT
230 domain: dev
231
232 # Schema specific properties that include supported versions of api
233 schema:
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500234 # Specifies if the connection should be one way ssl, two way ssl or no auth
235 service:
236 client: one-way-ssl
237 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
238 translator:
239 list: schema-service
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400240 source:
241 # Specifies which folder to take a look at
242 name: onap
243 uri:
244 # Base URI Path of the application
245 base:
246 path: /aai
247 version:
248 # Current version of the REST API
249 api:
Harish Venkata Kajur3c90a1f2019-03-12 14:11:15 -0400250 default: v16
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400251 # Specifies which version the depth parameter is configurable
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500252 depth: v11
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400253 # List of all the supported versions of the API
Harish Venkata Kajur3c90a1f2019-03-12 14:11:15 -0400254 list: v11,v12,v13,v14,v15,v16
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400255 # Specifies from which version related link should appear
256 related:
Harish Venkata Kajurcb1af342019-02-12 23:56:51 -0500257 link: v11
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -0400258 # Specifies from which version the app root change happened
259 app:
260 root: v11
261 # Specifies from which version the xml namespace changed
262 namespace:
263 change: v12
264 # Specifies from which version the edge label appeared in API
265 edge:
266 label: v12
267
268 # Keystore configuration password and filename
269 keystore:
270 filename: aai_keystore
271 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
272
273 # Truststore configuration password and filename
274 truststore:
275 filename: aai_keystore
276 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
277
278 # Specifies a list of files to be included in auth volume
279 auth:
280 files:
281 - aai_keystore
282
283 # Specifies which clients should always default to realtime graph connection
284 realtime:
285 clients: SDNC,MSO,SO,robot-ete
286
287 # Logback debug enabled
288 logback:
289 console:
290 # If enabled, container will print all logback to standard output
291 # This will make debugging much easier but it should only be done
292 # when debugging the issue and changed back as it can affect performance
293 # since when this is enabled, it prints a lot of information to console
294 enabled: false
kj6a8ce802018-03-19 15:07:44 +0200295
296# application image
297dockerhubRepository: registry.hub.docker.com
Harish Venkata Kajur839bd442019-04-11 12:36:01 -0400298image: aaionap/haproxy:1.4.0
kerenj3db4be52017-08-24 11:32:22 +0000299pullPolicy: Always
Alexis de Talhouëtd97a78c2017-12-11 08:36:25 -0500300
rajeshkalai442b8f02018-09-18 16:55:39 -0400301flavor: small
302
kj6a8ce802018-03-19 15:07:44 +0200303# flag to enable debugging - application support required
304debugEnabled: false
Jerome Doucerain9e5c7572018-03-17 14:18:41 -0400305
kj6a8ce802018-03-19 15:07:44 +0200306# application configuration
BorislavGe3b6f912018-03-25 18:12:38 +0300307config:
308 logstashServiceName: log-ls
309 logstashPort: 5044
310
kj6a8ce802018-03-19 15:07:44 +0200311# default number of instances
312replicaCount: 1
313
314nodeSelector: {}
315
316affinity: {}
317
318# probe configuration parameters
319liveness:
320 initialDelaySeconds: 10
321 periodSeconds: 10
322 # necessary to disable liveness probe when setting breakpoints
323 # in debugger so K8s doesn't restart unresponsive container
324 enabled: true
325
Mahendra Raghuwanshi105cbb92019-03-20 06:36:19 +0000326#This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use.
327#Below command will instantiate the aai cassandra instances:
328#helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \
329# --set aai.global.cassandra.localCluster=true \
330# --set aai.global.cassandra.serviceName=aai-cassandra
331cassandra:
332 nameOverride: aai-cassandra
333 replicaCount: 3
334 service:
335 name: aai-cassandra
336 persistence:
337 mountSubPath: aai/cassandra
338 enabled: true
339
kj6a8ce802018-03-19 15:07:44 +0200340readiness:
341 initialDelaySeconds: 10
342 periodSeconds: 10
343
344service:
345 type: NodePort
Harish Venkata Kajur0f43cf52019-04-26 15:13:09 -0400346 portName: aai-ssl
347 externalPort: 8443
348 internalPort: 8443
349 nodePort: 33
BorislavGdd207052018-05-22 11:31:39 +0000350 # POLICY hotfix - Note this must be temporary
351 # See https://jira.onap.org/browse/POLICY-510
352 aaiServiceClusterIp:
kj6a8ce802018-03-19 15:07:44 +0200353
354ingress:
355 enabled: false
356
rajeshkalai442b8f02018-09-18 16:55:39 -0400357resources:
358 small:
359 limits:
360 cpu: 2
361 memory: 4Gi
362 requests:
Mandeep Khinda654dbb52018-09-19 23:56:37 +0000363 cpu: 1
364 memory: 1Gi
rajeshkalai442b8f02018-09-18 16:55:39 -0400365 large:
366 limits:
367 cpu: 4
368 memory: 8Gi
369 requests:
Mandeep Khinda654dbb52018-09-19 23:56:37 +0000370 cpu: 2
371 memory: 2Gi
Ravi Geda375666c2018-09-30 21:14:41 +0100372 unlimited: {}