1 # Copyright (c) 2017 Amdocs, Bell Canada
2 # Modifications Copyright (c) 2018 AT&T
3 # Modifications Copyright (c) 2020 Nokia, Orange
4 # Modifications Copyright (c) 2021 Orange
5 # Modifications Copyright © 2023 Nordix Foundation
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 # Default values for aai.
20 # This is a YAML-formatted file.
21 # Declare variables to be passed into your templates.
22 global: # global defaults
24 repository: nexus3.onap.org:10001
25 dockerhubRepository: docker.io
28 readinessImage: onap/oom/readiness:5.0.1
30 loggingRepository: docker.elastic.co
31 loggingImage: beats/filebeat:5.5.0
36 centralizedLoggingEnabled: false
39 #This will instantiate AAI cassandra cluster, default:shared cassandra.
42 # in case of a local cassandra cluster
43 # flag to enable the DB creation via k8ssandra-operator
45 # if useOperator set to "true", set "enableServiceAccount to "false"
46 # as the SA is created by the Operator
47 enableServiceAccount: false
49 #Service Name of the cassandra cluster to connect to.
50 #Override it to aai-cassandra if localCluster is enabled.
51 #in case of using k8ssandra-operator in the common cassandra installation
53 serviceName: cassandra-dc1-service
54 #in case of local k8ssandra-operator instance it is
55 #serviceName: aai-cassandra-dc1-service
56 #in case the older cassandra installation is used:
57 #serviceName: cassandra
59 #This should be same as shared cassandra instance or if localCluster is enabled
60 #then it should be same as aai-cassandra replicaCount
63 #Cassandra login details
70 serviceName: aai-babel
72 serviceName: aai-elasticsearch
74 serviceName: aai-resources
76 serviceName: aai-sparky-be
78 serviceName: aai-modelloader
80 serviceName: aai-search-data
82 serviceName: aai-traversal
84 serviceName: aai-graphadmin
88 # Specifies a list of jobs to be run
90 # When enabled, it will create the schema based on oxm and edge rules
93 # When enabled, it will create the widget models via REST API to haproxy
96 #migration using helm hooks
103 hostname: 10.10.10.10
104 connectionTimeout: 100000
108 #If backend is cql or cassandra it should be keyspace name
109 #else backend is hbase it should be hbase table name
112 ## CQL driver specific properties for janusgraph
114 # #Name of the Cassandra Cluster
115 # cluster: someclustername
116 # readConsistency: QUORUM
117 # writeConsistency: QUORUM
118 # replicationFactor: 3
119 # localConsistencyForSysOps: true
121 ## Cassandra driver specific properties for janusgraph
123 #Name of the Cassandra Cluster
124 clusterName: aai-cluster
125 localDataCenter: Pod lab
126 readConsistency: LOCAL_QUORUM
127 writeConsistency: LOCAL_QUORUM
132 # hostname: somehost1,somehost2,somehost3
133 # connectionTimeout: 100000
135 # clusterName: someClusterName
136 # localDataCenter: someDataCenter
137 # keyConsistent: true
138 # #If backend is cql or cassandra it should be keyspace name
139 # #else backend is hbase it should be hbase table name
140 # name: your_hbase_table_or_keyspace_name
142 ## CQL driver specific properties for janusgraph
144 # #Name of the Cassandra Cluster
145 # cluster: someclustername
146 # readConsistency: QUORUM
147 # writeConsistency: QUORUM
148 # replicationFactor: 3
149 # localConsistencyForSysOps: true
151 ## Cassandra driver specific properties for janusgraph
153 # #Name of the Cassandra Cluster
154 # cluster: someclustername
155 # readConsistency: LOCAL_QUORUM
156 # writeConsistency: LOCAL_QUORUM
157 # replicationFactor: 3
160 # Common configuration for resources traversal and graphadmin
162 # User information for the admin user in container
166 # Specifies that the cluster connected to a dynamic
167 # cluster being spinned up by kubernetes deployment
172 # If cluster.cassandra.dynamic is set to false
173 # Then the following configuration should be uncommented
174 # This is if you are planning to connect to a existing
175 # Cassandra cluster instead of doing the deployment
178 # hostname: somehost1,somehost2,somehost3
179 # connectionTimeout: 100000
181 # clusterName: someClusterName
182 # localDataCenter: someDataCenter
183 # keyConsistent: true
184 # # If backend is cql or cassandra it should be keyspace name
185 # # else backend is hbase it should be hbase table name
186 # name: your_hbase_table_or_keyspace_name
188 # # CQL driver specific properties for janusgraph
190 # # Name of the Cassandra Cluster
191 # cluster: someclustername
192 # readConsistency: QUORUM
193 # writeConsistency: QUORUM
194 # replicationFactor: 3
195 # localConsistencyForSysOps: true
197 # # Cassandra driver specific properties for janusgraph
199 # # Name of the Cassandra Cluster
200 # cluster: someclustername
201 # readConsistency: LOCAL_QUORUM
202 # writeConsistency: LOCAL_QUORUM
203 # replicationFactor: 3
205 # Specifies if the basic authorization is enabled
212 # Active spring profiles for the resources microservice
213 # aaf-auth profile will be automatically set if aaf enabled is set to true
215 active: production,dmaap #,aaf-auth
217 # Notification event specific properties
222 # Schema specific properties that include supported versions of api
224 # Specifies if the connection should be one way ssl, two way ssl or no auth
225 # will be set to no-auth if tls is disabled
228 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
232 # Specifies which folder to take a look at
235 # Base URI Path of the application
239 # Current version of the REST API
242 # Specifies which version the depth parameter is configurable
244 # List of all the supported versions of the API
245 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
246 # Specifies from which version related link should appear
249 # Specifies from which version the app root change happened
252 # Specifies from which version the xml namespace changed
255 # Specifies from which version the edge label appeared in API
259 # Keystore configuration password and filename
261 filename: aai_keystore
262 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit
264 # Truststore configuration password and filename
266 filename: aai_keystore
267 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit
269 # Specifies a list of files to be included in auth volume
274 # Specifies which clients should always default to realtime graph connection
276 clients: SDNC,MSO,SO,robot-ete
278 # Logback debug enabled
281 # If enabled, container will print all logback to standard output
282 # This will make debugging much easier but it should only be done
283 # when debugging the issue and changed back as it can affect performance
284 # since when this is enabled, it prints a lot of information to console
288 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
290 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
292 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
294 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
296 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
298 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
300 logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
303 dockerhubRepository: registry.hub.docker.com
304 image: onap/aai-haproxy:1.11.0
308 flavorOverride: small
310 # flag to enable debugging - application support required
313 # application configuration
315 logstashServiceName: log-ls
318 # default number of instances
330 # HAProxy configuration to block HTTP requests to AAI based on configurable URL patterns
343 # probe configuration parameters
345 initialDelaySeconds: 10
347 # necessary to disable liveness probe when setting breakpoints
348 # in debugger so K8s doesn't restart unresponsive container
351 #This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use.
352 #Below command will instantiate the aai cassandra instances:
353 #helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \
354 # --set aai.global.cassandra.localCluster=true \
355 # --set aai.global.cassandra.serviceName=aai-cassandra
357 nameOverride: aai-cassandra
359 nameOverride: aai-cassandra
364 mountSubPath: aai/cassandra
368 clusterName: aai-cassandra
371 initialDelaySeconds: 10
380 sessionAffinity: None
397 app: '{{ include "common.name" . }}-metrics'
398 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
399 release: '{{ include "common.release" . }}'
400 heritage: '{{ .Release.Service }}'
404 metricRelabelings: []
409 - baseaddr: "aai-api"
417 authorizedPrincipalsMetrics: []
418 authorizedPrincipals:
419 - serviceAccount: aai-graphadmin-read
420 - serviceAccount: aai-modelloader-read
421 - serviceAccount: aai-resources-read
422 - serviceAccount: aai-schema-service-read
423 - serviceAccount: aai-traversal-read
424 - serviceAccount: cds-blueprints-processor-read
425 - serviceAccount: consul-read
426 - serviceAccount: dcae-prh-read
427 - serviceAccount: dcae-slice-analysis-ms-read
428 - serviceAccount: dcae-tcagen2
429 - serviceAccount: nbi-read
430 - serviceAccount: sdnc-read
431 - serviceAccount: so-read
432 - serviceAccount: so-bpmn-infra-read
433 - serviceAccount: so-cnf-adapter-read
434 - serviceAccount: so-nssmf-adapter-read
435 - serviceAccount: so-etsi-nfvo-ns-lcm-read
436 - serviceAccount: so-etsi-sol003-adapter-read
437 - serviceAccount: so-openstack-adapter-read
438 - serviceAccount: so-sdc-controller-read
439 - serviceAccount: so-ve-vnfm-adapter
440 - serviceAccount: istio-ingress
441 namespace: istio-ingress
460 #Pods Service Account