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 |
BorislavG | f2b4966 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 26 | readinessImage: readiness-check:2.0.0 |
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 | |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 33 | cassandra: |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 34 | serviceName: aai-cassandra |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 35 | replicas: 3 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 36 | |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 37 | aai: |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 38 | serviceName: aai |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 39 | babel: |
| 40 | serviceName: aai-babel |
| 41 | champ: |
| 42 | serviceName: aai-champ |
| 43 | aaiElasticsearch: |
| 44 | serviceName: aai-elasticsearch |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 45 | resources: |
| 46 | serviceName: aai-resources |
| 47 | sparkyBe: |
| 48 | serviceName: aai-sparky-be |
| 49 | dataRouter: |
| 50 | serviceName: aai-data-router |
| 51 | gizmo: |
| 52 | serviceName: aai-gizmo |
| 53 | modelloader: |
| 54 | serviceName: aai-modelloader |
| 55 | searchData: |
| 56 | serviceName: aai-search-data |
| 57 | traversal: |
| 58 | serviceName: aai-traversal |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 59 | graphadmin: |
| 60 | serviceName: aai-graphadmin |
Michael Arrastia | 0e102f6 | 2018-08-21 13:36:27 +0100 | [diff] [blame] | 61 | spike: |
| 62 | serviceName: aai-spike |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 63 | |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 64 | initContainers: |
| 65 | enabled: true |
| 66 | # Specifies a list of jobs to be run |
| 67 | jobs: |
| 68 | # When enabled, it will create the schema based on oxm and edge rules |
| 69 | createSchema: |
| 70 | enabled: true |
| 71 | # When enabled, it will create the widget models via REST API to haproxy |
| 72 | updateQueryData: |
| 73 | enabled: true |
| 74 | |
| 75 | # Common configuration for resources traversal and graphadmin |
| 76 | config: |
| 77 | # User information for the admin user in container |
| 78 | userId: 1000 |
| 79 | groupId: 1000 |
| 80 | |
| 81 | # Specifies that the cluster connected to a dynamic |
| 82 | # cluster being spinned up by kubernetes deployment |
| 83 | cluster: |
| 84 | cassandra: |
| 85 | dynamic: true |
| 86 | |
| 87 | # If cluster.cassandra.dynamic is set to false |
| 88 | # Then the following configuration should be uncommented |
| 89 | # This is if you are planning to connect to a existing |
| 90 | # Cassandra cluster instead of doing the deployment |
| 91 | #storage: |
| 92 | # backend: cassandra |
| 93 | # hostname: somehost1,somehost2,somehost3 |
| 94 | # connectionTimeout: 100000 |
| 95 | # cacheSize: 1000000 |
| 96 | # clusterName: someClusterName |
| 97 | # localDataCenter: someDataCenter |
| 98 | # keyConsistent: true |
| 99 | # # If backend is cql or cassandra it should be keyspace name |
| 100 | # # else backend is hbase it should be hbase table name |
| 101 | # name: your_hbase_table_or_keyspace_name |
| 102 | |
| 103 | # # CQL driver specific properties for janusgraph |
| 104 | # cql: |
| 105 | # # Name of the Cassandra Cluster |
| 106 | # cluster: someclustername |
| 107 | # readConsistency: QUORUM |
| 108 | # writeConsistency: QUORUM |
| 109 | # replicationFactor: 3 |
| 110 | # localConsistencyForSysOps: true |
| 111 | |
| 112 | # # Cassandra driver specific properties for janusgraph |
| 113 | # cassandra: |
| 114 | # # Name of the Cassandra Cluster |
| 115 | # cluster: someclustername |
| 116 | # readConsistency: LOCAL_QUORUM |
| 117 | # writeConsistency: LOCAL_QUORUM |
| 118 | # replicationFactor: 3 |
| 119 | |
| 120 | # Specifies if the basic authorization is enabled |
| 121 | basic: |
| 122 | auth: |
| 123 | enabled: true |
| 124 | username: AAI |
| 125 | passwd: AAI |
| 126 | |
| 127 | # Active spring profiles for the resources microservice |
| 128 | profiles: |
| 129 | active: production,dmaap,one-way-ssl |
| 130 | |
| 131 | # Notification event specific properties |
| 132 | notification: |
| 133 | eventType: AAI-EVENT |
| 134 | domain: dev |
| 135 | |
| 136 | # Schema specific properties that include supported versions of api |
| 137 | schema: |
| 138 | source: |
| 139 | # Specifies which folder to take a look at |
| 140 | name: onap |
| 141 | uri: |
| 142 | # Base URI Path of the application |
| 143 | base: |
| 144 | path: /aai |
| 145 | version: |
| 146 | # Current version of the REST API |
| 147 | api: |
| 148 | default: v14 |
| 149 | # Specifies which version the depth parameter is configurable |
| 150 | depth: v9 |
| 151 | # List of all the supported versions of the API |
| 152 | list: v8,v9,v10,v11,v12,v13,v14 |
| 153 | # Specifies from which version related link should appear |
| 154 | related: |
| 155 | link: v10 |
| 156 | # Specifies from which version the app root change happened |
| 157 | app: |
| 158 | root: v11 |
| 159 | # Specifies from which version the xml namespace changed |
| 160 | namespace: |
| 161 | change: v12 |
| 162 | # Specifies from which version the edge label appeared in API |
| 163 | edge: |
| 164 | label: v12 |
| 165 | |
| 166 | # Keystore configuration password and filename |
| 167 | keystore: |
| 168 | filename: aai_keystore |
| 169 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 170 | |
| 171 | # Truststore configuration password and filename |
| 172 | truststore: |
| 173 | filename: aai_keystore |
| 174 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 175 | |
| 176 | # Specifies a list of files to be included in auth volume |
| 177 | auth: |
| 178 | files: |
| 179 | - aai_keystore |
| 180 | |
| 181 | # Specifies which clients should always default to realtime graph connection |
| 182 | realtime: |
| 183 | clients: SDNC,MSO,SO,robot-ete |
| 184 | |
| 185 | # Logback debug enabled |
| 186 | logback: |
| 187 | console: |
| 188 | # If enabled, container will print all logback to standard output |
| 189 | # This will make debugging much easier but it should only be done |
| 190 | # when debugging the issue and changed back as it can affect performance |
| 191 | # since when this is enabled, it prints a lot of information to console |
| 192 | enabled: false |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 193 | |
| 194 | # application image |
| 195 | dockerhubRepository: registry.hub.docker.com |
Jimmy Forsyth | 3b113d2 | 2018-06-08 14:30:27 -0400 | [diff] [blame] | 196 | image: aaionap/haproxy:1.2.4 |
kerenj | 3db4be5 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 197 | pullPolicy: Always |
Alexis de Talhouët | d97a78c | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 198 | |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 199 | flavor: small |
| 200 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 201 | # flag to enable debugging - application support required |
| 202 | debugEnabled: false |
Jerome Doucerain | 9e5c757 | 2018-03-17 14:18:41 -0400 | [diff] [blame] | 203 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 204 | # application configuration |
BorislavG | e3b6f91 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 205 | config: |
| 206 | logstashServiceName: log-ls |
| 207 | logstashPort: 5044 |
| 208 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 209 | # default number of instances |
| 210 | replicaCount: 1 |
| 211 | |
| 212 | nodeSelector: {} |
| 213 | |
| 214 | affinity: {} |
| 215 | |
| 216 | # probe configuration parameters |
| 217 | liveness: |
| 218 | initialDelaySeconds: 10 |
| 219 | periodSeconds: 10 |
| 220 | # necessary to disable liveness probe when setting breakpoints |
| 221 | # in debugger so K8s doesn't restart unresponsive container |
| 222 | enabled: true |
| 223 | |
| 224 | readiness: |
| 225 | initialDelaySeconds: 10 |
| 226 | periodSeconds: 10 |
| 227 | |
| 228 | service: |
| 229 | type: NodePort |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 230 | portName: aai |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 231 | externalPort: 8080 |
| 232 | internalPort: 8080 |
| 233 | nodePort: 32 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 234 | portName2: aai-ssl |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 235 | externalPort2: 8443 |
| 236 | internalPort2: 8443 |
| 237 | nodePort2: 33 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 238 | # POLICY hotfix - Note this must be temporary |
| 239 | # See https://jira.onap.org/browse/POLICY-510 |
| 240 | aaiServiceClusterIp: |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 241 | |
| 242 | ingress: |
| 243 | enabled: false |
| 244 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 245 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 246 | # choice for the user. This also increases chances charts run on environments with little |
| 247 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 248 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 249 | # |
| 250 | # Example: |
| 251 | # Configure resource requests and limits |
| 252 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 253 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 254 | # Minimum memory for production is 4 CPU cores and 8GB memory |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 255 | resources: |
| 256 | small: |
| 257 | limits: |
| 258 | cpu: 2 |
| 259 | memory: 4Gi |
| 260 | requests: |
| 261 | cpu: 2 |
| 262 | memory: 4Gi |
| 263 | large: |
| 264 | limits: |
| 265 | cpu: 4 |
| 266 | memory: 8Gi |
| 267 | requests: |
| 268 | cpu: 4 |
| 269 | memory: 8Gi |