vaibhav_16dec | 0e58a66 | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | 84d73b1 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | 0e58a66 | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 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 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 16 | # Default values for aai. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | repository: nexus3.onap.org:10001 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 22 | dockerhubRepository: docker.io |
| 23 | busyboxImage: busybox |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 24 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 25e936b | 2019-03-15 06:42:07 +0000 | [diff] [blame] | 26 | readinessImage: readiness-check:2.0.2 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 27 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | loggingRepository: docker.elastic.co |
| 29 | loggingImage: beats/filebeat:5.5.0 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 30 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 31 | restartPolicy: Always |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 32 | |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 33 | installSidecarSecurity: false |
Kajur, Harish (vk250x) | a8a554c | 2018-11-07 12:51:35 -0500 | [diff] [blame] | 34 | aafEnabled: true |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 35 | |
| 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 | |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 58 | cassandra: |
Mahendra Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 59 | #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 |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 68 | replicas: 3 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 69 | |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 70 | aai: |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 71 | serviceName: aai |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 72 | babel: |
| 73 | serviceName: aai-babel |
| 74 | champ: |
| 75 | serviceName: aai-champ |
| 76 | aaiElasticsearch: |
| 77 | serviceName: aai-elasticsearch |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 78 | 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) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 92 | graphadmin: |
| 93 | serviceName: aai-graphadmin |
Michael Arrastia | 0e102f6 | 2018-08-21 13:36:27 +0100 | [diff] [blame] | 94 | spike: |
| 95 | serviceName: aai-spike |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 96 | |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 97 | 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 Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 107 | #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) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 170 | |
| 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) | 18556c8 | 2018-10-25 18:08:18 -0400 | [diff] [blame] | 225 | active: production,dmaap,aaf-auth |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 226 | |
| 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 Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 234 | # 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) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 240 | 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 Kajur | 3c90a1f | 2019-03-12 14:11:15 -0400 | [diff] [blame] | 250 | default: v16 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 251 | # Specifies which version the depth parameter is configurable |
Harish Venkata Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 252 | depth: v11 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 253 | # List of all the supported versions of the API |
Harish Venkata Kajur | 3c90a1f | 2019-03-12 14:11:15 -0400 | [diff] [blame] | 254 | list: v11,v12,v13,v14,v15,v16 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 255 | # Specifies from which version related link should appear |
| 256 | related: |
Harish Venkata Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 257 | link: v11 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 258 | # 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 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 295 | |
| 296 | # application image |
| 297 | dockerhubRepository: registry.hub.docker.com |
Harish Venkata Kajur | 839bd44 | 2019-04-11 12:36:01 -0400 | [diff] [blame] | 298 | image: aaionap/haproxy:1.4.0 |
kerenj | 3db4be5 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 299 | pullPolicy: Always |
Alexis de Talhouët | d97a78c | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 300 | |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 301 | flavor: small |
| 302 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 303 | # flag to enable debugging - application support required |
| 304 | debugEnabled: false |
Jerome Doucerain | 9e5c757 | 2018-03-17 14:18:41 -0400 | [diff] [blame] | 305 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 306 | # application configuration |
BorislavG | e3b6f91 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 307 | config: |
| 308 | logstashServiceName: log-ls |
| 309 | logstashPort: 5044 |
| 310 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 311 | # default number of instances |
| 312 | replicaCount: 1 |
| 313 | |
| 314 | nodeSelector: {} |
| 315 | |
| 316 | affinity: {} |
| 317 | |
| 318 | # probe configuration parameters |
| 319 | liveness: |
| 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 Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 326 | #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 |
| 331 | cassandra: |
| 332 | nameOverride: aai-cassandra |
| 333 | replicaCount: 3 |
| 334 | service: |
| 335 | name: aai-cassandra |
| 336 | persistence: |
| 337 | mountSubPath: aai/cassandra |
| 338 | enabled: true |
| 339 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 340 | readiness: |
| 341 | initialDelaySeconds: 10 |
| 342 | periodSeconds: 10 |
| 343 | |
| 344 | service: |
| 345 | type: NodePort |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 346 | portName: aai |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 347 | externalPort: 8080 |
| 348 | internalPort: 8080 |
| 349 | nodePort: 32 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 350 | portName2: aai-ssl |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 351 | externalPort2: 8443 |
| 352 | internalPort2: 8443 |
| 353 | nodePort2: 33 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 354 | # POLICY hotfix - Note this must be temporary |
| 355 | # See https://jira.onap.org/browse/POLICY-510 |
| 356 | aaiServiceClusterIp: |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 357 | |
| 358 | ingress: |
| 359 | enabled: false |
| 360 | |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 361 | resources: |
| 362 | small: |
| 363 | limits: |
| 364 | cpu: 2 |
| 365 | memory: 4Gi |
| 366 | requests: |
Mandeep Khinda | 654dbb5 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 367 | cpu: 1 |
| 368 | memory: 1Gi |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 369 | large: |
| 370 | limits: |
| 371 | cpu: 4 |
| 372 | memory: 8Gi |
| 373 | requests: |
Mandeep Khinda | 654dbb5 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 374 | cpu: 2 |
| 375 | memory: 2Gi |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 376 | unlimited: {} |