Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright (c) 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright (c) 2018 AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 3 | # Modifications Copyright (c) 2020 Nokia, Orange |
Sylvain Desbureaux | 6212bb2 | 2021-01-18 11:43:33 +0100 | [diff] [blame] | 4 | # Modifications Copyright (c) 2021 Orange |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 5 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 6 | # |
| 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 |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 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. |
| 18 | |
| 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 |
| 23 | nodePortPrefix: 302 |
| 24 | repository: nexus3.onap.org:10001 |
| 25 | dockerhubRepository: docker.io |
| 26 | busyboxImage: busybox |
| 27 | |
| 28 | readinessImage: onap/oom/readiness:3.0.1 |
| 29 | |
| 30 | loggingRepository: docker.elastic.co |
| 31 | loggingImage: beats/filebeat:5.5.0 |
| 32 | |
| 33 | restartPolicy: Always |
| 34 | |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 35 | msbEnabled: false |
| 36 | centralizedLoggingEnabled: false |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 37 | |
| 38 | cassandra: |
| 39 | #This will instantiate AAI cassandra cluster, default:shared cassandra. |
| 40 | localCluster: false |
| 41 | |
| 42 | #Service Name of the cassandra cluster to connect to. |
| 43 | #Override it to aai-cassandra if localCluster is enabled. |
| 44 | serviceName: cassandra |
| 45 | |
| 46 | #This should be same as shared cassandra instance or if localCluster is enabled |
| 47 | #then it should be same as aai-cassandra replicaCount |
| 48 | replicas: 3 |
| 49 | |
| 50 | #Cassanara login details |
| 51 | username: cassandra |
| 52 | password: cassandra |
| 53 | |
| 54 | aai: |
| 55 | serviceName: aai |
| 56 | babel: |
| 57 | serviceName: aai-babel |
| 58 | aaiElasticsearch: |
| 59 | serviceName: aai-elasticsearch |
| 60 | resources: |
| 61 | serviceName: aai-resources |
| 62 | sparkyBe: |
| 63 | serviceName: aai-sparky-be |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | modelloader: |
| 65 | serviceName: aai-modelloader |
| 66 | searchData: |
| 67 | serviceName: aai-search-data |
| 68 | traversal: |
| 69 | serviceName: aai-traversal |
| 70 | graphadmin: |
| 71 | serviceName: aai-graphadmin |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 72 | |
| 73 | initContainers: |
| 74 | enabled: true |
| 75 | # Specifies a list of jobs to be run |
| 76 | jobs: |
| 77 | # When enabled, it will create the schema based on oxm and edge rules |
| 78 | createSchema: |
| 79 | enabled: true |
| 80 | # When enabled, it will create the widget models via REST API to haproxy |
| 81 | updateQueryData: |
| 82 | enabled: true |
| 83 | #migration using helm hooks |
| 84 | migration: |
| 85 | enabled: false |
| 86 | remoteCassandra: |
| 87 | enabled: false |
| 88 | storage: |
| 89 | backend: cassandra |
| 90 | hostname: 10.10.10.10 |
| 91 | connectionTimeout: 100000 |
| 92 | cacheSize: 1000000 |
| 93 | keyConsistent: true |
| 94 | |
| 95 | #If backend is cql or cassandra it should be keyspace name |
| 96 | #else backend is hbase it should be hbase table name |
| 97 | name: aaigraph |
| 98 | |
| 99 | ## CQL driver specific properties for janusgraph |
| 100 | # cql: |
| 101 | # #Name of the Cassandra Cluster |
| 102 | # cluster: someclustername |
| 103 | # readConsistency: QUORUM |
| 104 | # writeConsistency: QUORUM |
| 105 | # replicationFactor: 3 |
| 106 | # localConsistencyForSysOps: true |
| 107 | |
| 108 | ## Cassandra driver specific properties for janusgraph |
| 109 | cassandra: |
| 110 | #Name of the Cassandra Cluster |
| 111 | clusterName: aai-cluster |
| 112 | localDataCenter: Pod lab |
| 113 | readConsistency: LOCAL_QUORUM |
| 114 | writeConsistency: LOCAL_QUORUM |
| 115 | replicationFactor: 3 |
| 116 | |
| 117 | #storage: |
| 118 | # backend: cassandra |
| 119 | # hostname: somehost1,somehost2,somehost3 |
| 120 | # connectionTimeout: 100000 |
| 121 | # cacheSize: 1000000 |
| 122 | # clusterName: someClusterName |
| 123 | # localDataCenter: someDataCenter |
| 124 | # keyConsistent: true |
| 125 | # #If backend is cql or cassandra it should be keyspace name |
| 126 | # #else backend is hbase it should be hbase table name |
| 127 | # name: your_hbase_table_or_keyspace_name |
| 128 | |
| 129 | ## CQL driver specific properties for janusgraph |
| 130 | # cql: |
| 131 | # #Name of the Cassandra Cluster |
| 132 | # cluster: someclustername |
| 133 | # readConsistency: QUORUM |
| 134 | # writeConsistency: QUORUM |
| 135 | # replicationFactor: 3 |
| 136 | # localConsistencyForSysOps: true |
| 137 | |
| 138 | ## Cassandra driver specific properties for janusgraph |
| 139 | # cassandra: |
| 140 | # #Name of the Cassandra Cluster |
| 141 | # cluster: someclustername |
| 142 | # readConsistency: LOCAL_QUORUM |
| 143 | # writeConsistency: LOCAL_QUORUM |
| 144 | # replicationFactor: 3 |
| 145 | |
| 146 | |
| 147 | # Common configuration for resources traversal and graphadmin |
| 148 | config: |
| 149 | # User information for the admin user in container |
| 150 | userId: 1000 |
| 151 | groupId: 1000 |
| 152 | |
| 153 | # Specifies that the cluster connected to a dynamic |
| 154 | # cluster being spinned up by kubernetes deployment |
| 155 | cluster: |
| 156 | cassandra: |
| 157 | dynamic: true |
| 158 | |
| 159 | # If cluster.cassandra.dynamic is set to false |
| 160 | # Then the following configuration should be uncommented |
| 161 | # This is if you are planning to connect to a existing |
| 162 | # Cassandra cluster instead of doing the deployment |
| 163 | #storage: |
| 164 | # backend: cassandra |
| 165 | # hostname: somehost1,somehost2,somehost3 |
| 166 | # connectionTimeout: 100000 |
| 167 | # cacheSize: 1000000 |
| 168 | # clusterName: someClusterName |
| 169 | # localDataCenter: someDataCenter |
| 170 | # keyConsistent: true |
| 171 | # # If backend is cql or cassandra it should be keyspace name |
| 172 | # # else backend is hbase it should be hbase table name |
| 173 | # name: your_hbase_table_or_keyspace_name |
| 174 | |
| 175 | # # CQL driver specific properties for janusgraph |
| 176 | # cql: |
| 177 | # # Name of the Cassandra Cluster |
| 178 | # cluster: someclustername |
| 179 | # readConsistency: QUORUM |
| 180 | # writeConsistency: QUORUM |
| 181 | # replicationFactor: 3 |
| 182 | # localConsistencyForSysOps: true |
| 183 | |
| 184 | # # Cassandra driver specific properties for janusgraph |
| 185 | # cassandra: |
| 186 | # # Name of the Cassandra Cluster |
| 187 | # cluster: someclustername |
| 188 | # readConsistency: LOCAL_QUORUM |
| 189 | # writeConsistency: LOCAL_QUORUM |
| 190 | # replicationFactor: 3 |
| 191 | |
| 192 | # Specifies if the basic authorization is enabled |
| 193 | basic: |
| 194 | auth: |
| 195 | enabled: true |
| 196 | username: AAI |
| 197 | passwd: AAI |
| 198 | |
| 199 | # Active spring profiles for the resources microservice |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 200 | # aaf-auth profile will be automatically set if aaf enabled is set to true |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 201 | profiles: |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 202 | active: production,dmaap #,aaf-auth |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 203 | |
| 204 | # Notification event specific properties |
| 205 | notification: |
| 206 | eventType: AAI-EVENT |
| 207 | domain: dev |
| 208 | |
| 209 | # Schema specific properties that include supported versions of api |
| 210 | schema: |
| 211 | # Specifies if the connection should be one way ssl, two way ssl or no auth |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 212 | # will be set to no-auth if tls is disabled |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 213 | service: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 214 | client: no-auth |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 215 | # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service |
| 216 | translator: |
| 217 | list: schema-service |
| 218 | source: |
| 219 | # Specifies which folder to take a look at |
| 220 | name: onap |
| 221 | uri: |
| 222 | # Base URI Path of the application |
| 223 | base: |
| 224 | path: /aai |
| 225 | version: |
| 226 | # Current version of the REST API |
| 227 | api: |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 228 | default: v27 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 229 | # Specifies which version the depth parameter is configurable |
| 230 | depth: v11 |
| 231 | # List of all the supported versions of the API |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 232 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 233 | # Specifies from which version related link should appear |
| 234 | related: |
| 235 | link: v11 |
| 236 | # Specifies from which version the app root change happened |
| 237 | app: |
| 238 | root: v11 |
| 239 | # Specifies from which version the xml namespace changed |
| 240 | namespace: |
| 241 | change: v12 |
| 242 | # Specifies from which version the edge label appeared in API |
| 243 | edge: |
| 244 | label: v12 |
| 245 | |
| 246 | # Keystore configuration password and filename |
| 247 | keystore: |
| 248 | filename: aai_keystore |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 249 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 250 | |
| 251 | # Truststore configuration password and filename |
| 252 | truststore: |
| 253 | filename: aai_keystore |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 254 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 255 | |
| 256 | # Specifies a list of files to be included in auth volume |
| 257 | auth: |
| 258 | files: |
| 259 | - aai_keystore |
| 260 | |
| 261 | # Specifies which clients should always default to realtime graph connection |
| 262 | realtime: |
| 263 | clients: SDNC,MSO,SO,robot-ete |
| 264 | |
| 265 | # Logback debug enabled |
| 266 | logback: |
| 267 | console: |
| 268 | # If enabled, container will print all logback to standard output |
| 269 | # This will make debugging much easier but it should only be done |
| 270 | # when debugging the issue and changed back as it can affect performance |
| 271 | # since when this is enabled, it prints a lot of information to console |
| 272 | enabled: false |
| 273 | |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 274 | aai-babel: |
| 275 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 276 | aai-graphadmin: |
| 277 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 278 | aai-modelloader: |
| 279 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 280 | aai-resources: |
| 281 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 282 | aai-schema-service: |
| 283 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 284 | aai-sparky-be: |
| 285 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 286 | aai-traversal: |
| 287 | logConfigMapNamePrefix: '{{ include "common.release" . }}-aai' |
| 288 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 289 | # application image |
| 290 | dockerhubRepository: registry.hub.docker.com |
leila | cda9e14 | 2022-11-29 13:51:19 -0500 | [diff] [blame] | 291 | image: onap/aai-haproxy:1.11.0 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 292 | pullPolicy: Always |
| 293 | |
| 294 | flavor: small |
| 295 | flavorOverride: small |
| 296 | |
| 297 | # flag to enable debugging - application support required |
| 298 | debugEnabled: false |
| 299 | |
| 300 | # application configuration |
| 301 | config: |
| 302 | logstashServiceName: log-ls |
| 303 | logstashPort: 5044 |
| 304 | |
| 305 | # default number of instances |
| 306 | replicaCount: 1 |
| 307 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 308 | updateStrategy: |
| 309 | type: RollingUpdate |
| 310 | maxUnavailable: 0 |
| 311 | maxSurge: 1 |
| 312 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 313 | nodeSelector: {} |
| 314 | |
| 315 | affinity: {} |
| 316 | |
Suresh Charan | c1aa758 | 2022-01-31 06:25:37 -0500 | [diff] [blame] | 317 | # HAProxy configuration to block HTTP requests to AAI based on configurable URL patterns |
| 318 | haproxy: |
leila | 8bd5bf3 | 2022-11-16 19:42:09 -0500 | [diff] [blame] | 319 | initContainers: |
| 320 | resources: |
| 321 | memory: 100Mi |
| 322 | cpu: 50m |
Suresh Charan | c1aa758 | 2022-01-31 06:25:37 -0500 | [diff] [blame] | 323 | requestBlocking: |
| 324 | enabled: false |
| 325 | customConfigs: [] |
leila | 8bd5bf3 | 2022-11-16 19:42:09 -0500 | [diff] [blame] | 326 | replicas: |
| 327 | aaiResources: 1 |
| 328 | aaiTraversal: 1 |
Suresh Charan | c1aa758 | 2022-01-31 06:25:37 -0500 | [diff] [blame] | 329 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 330 | # probe configuration parameters |
| 331 | liveness: |
| 332 | initialDelaySeconds: 10 |
| 333 | periodSeconds: 10 |
| 334 | # necessary to disable liveness probe when setting breakpoints |
| 335 | # in debugger so K8s doesn't restart unresponsive container |
| 336 | enabled: true |
| 337 | |
| 338 | #This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use. |
| 339 | #Below command will instantiate the aai cassandra instances: |
| 340 | #helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \ |
| 341 | # --set aai.global.cassandra.localCluster=true \ |
| 342 | # --set aai.global.cassandra.serviceName=aai-cassandra |
| 343 | cassandra: |
| 344 | nameOverride: aai-cassandra |
Andreas Geissler | 3072a89 | 2022-01-07 17:41:42 +0000 | [diff] [blame] | 345 | serviceAccount: |
| 346 | nameOverride: aai-cassandra |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 347 | replicaCount: 3 |
| 348 | service: |
| 349 | name: aai-cassandra |
| 350 | persistence: |
| 351 | mountSubPath: aai/cassandra |
| 352 | enabled: true |
| 353 | |
| 354 | readiness: |
| 355 | initialDelaySeconds: 10 |
| 356 | periodSeconds: 10 |
| 357 | |
| 358 | service: |
| 359 | type: NodePort |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 360 | portName: http |
Andreas Geissler | 5846a6e | 2023-03-30 17:26:14 +0200 | [diff] [blame] | 361 | externalPort: 80 |
| 362 | internalPort: 8080 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 363 | nodePort: 33 |
leila | 46fb580 | 2022-11-15 11:33:21 -0500 | [diff] [blame] | 364 | sessionAffinity: None |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 365 | |
leila | 8bd5bf3 | 2022-11-16 19:42:09 -0500 | [diff] [blame] | 366 | metricsService: |
| 367 | type: ClusterIP |
| 368 | portName: prometheus |
| 369 | externalPort: 8448 |
| 370 | internalPort: 8448 |
| 371 | |
| 372 | metrics: |
| 373 | serviceMonitor: |
| 374 | enabled: false |
| 375 | targetPort: 8448 |
| 376 | path: /metrics |
| 377 | basicAuth: |
| 378 | enabled: false |
| 379 | |
| 380 | selector: |
| 381 | app: '{{ include "common.name" . }}-metrics' |
| 382 | chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' |
| 383 | release: '{{ include "common.release" . }}' |
| 384 | heritage: '{{ .Release.Service }}' |
| 385 | |
| 386 | relabelings: [] |
| 387 | |
| 388 | metricRelabelings: [] |
| 389 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 390 | ingress: |
| 391 | enabled: false |
| 392 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 393 | - baseaddr: "aai-api" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 394 | name: "aai" |
Andreas Geissler | 5846a6e | 2023-03-30 17:26:14 +0200 | [diff] [blame] | 395 | port: 80 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 396 | config: |
| 397 | ssl: "redirect" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 398 | |
| 399 | resources: |
| 400 | small: |
| 401 | limits: |
| 402 | cpu: 2 |
| 403 | memory: 4Gi |
| 404 | requests: |
| 405 | cpu: 1 |
| 406 | memory: 1Gi |
| 407 | large: |
| 408 | limits: |
| 409 | cpu: 4 |
| 410 | memory: 8Gi |
| 411 | requests: |
| 412 | cpu: 2 |
| 413 | memory: 2Gi |
| 414 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 415 | |
| 416 | #Pods Service Account |
| 417 | serviceAccount: |
| 418 | nameOverride: aai |
| 419 | roles: |
| 420 | - read |