Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # org.onap.aai |
| 4 | # ================================================================================ |
| 5 | # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. |
| 6 | # Copyright (c) 2020 Nokia Intellectual Property. All rights reserved. |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 7 | # Copyright (c) 2020 Orange Intellectual Property. All rights reserved. |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 8 | # ================================================================================ |
| 9 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | # you may not use this file except in compliance with the License. |
| 11 | # You may obtain a copy of the License at |
| 12 | # |
| 13 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | # |
| 15 | # Unless required by applicable law or agreed to in writing, software |
| 16 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | # See the License for the specific language governing permissions and |
| 19 | # limitations under the License. |
| 20 | # ============LICENSE_END========================================================= |
| 21 | |
| 22 | # Default values for resources. |
| 23 | # This is a YAML-formatted file. |
| 24 | # Declare variables to be passed into your templates. |
| 25 | global: # global defaults |
| 26 | nodePortPrefix: 302 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 27 | cassandra: |
| 28 | #This will instantiate AAI cassandra cluster, default:shared cassandra. |
| 29 | localCluster: false |
| 30 | initContainers: |
| 31 | enabled: true |
| 32 | jobs: |
| 33 | # When enabled, it will create the schema based on oxm and edge rules |
| 34 | createSchema: |
| 35 | enabled: true |
| 36 | #migration using helm hooks |
| 37 | migration: |
| 38 | enabled: false |
| 39 | config: |
| 40 | # User information for the admin user in container |
| 41 | userId: 1000 |
| 42 | |
| 43 | # Specifies that the cluster connected to a dynamic |
| 44 | # cluster being spinned up by kubernetes deployment |
| 45 | cluster: |
| 46 | cassandra: |
| 47 | dynamic: true |
| 48 | |
| 49 | # Specifies if the basic authorization is enabled |
| 50 | basic: |
| 51 | auth: |
| 52 | enabled: true |
| 53 | username: AAI |
| 54 | passwd: AAI |
| 55 | |
| 56 | # Notification event specific properties |
| 57 | notification: |
| 58 | eventType: AAI-EVENT |
| 59 | domain: dev |
| 60 | |
| 61 | # Schema specific properties that include supported versions of api |
| 62 | schema: |
| 63 | # 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] | 64 | # will be set to no-auth if tls is disabled |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 65 | service: |
| 66 | client: one-way-ssl |
| 67 | # Specifies which translator to use if it has schema-service, then it will |
| 68 | # make a rest request to schema service |
| 69 | translator: |
| 70 | list: schema-service |
| 71 | source: |
| 72 | # Specifies which folder to take a look at |
| 73 | name: onap |
| 74 | uri: |
| 75 | # Base URI Path of the application |
| 76 | base: |
| 77 | path: /aai |
| 78 | version: |
| 79 | # Current version of the REST API |
| 80 | api: |
| 81 | default: v21 |
| 82 | # Specifies which version the depth parameter is configurable |
| 83 | depth: v11 |
| 84 | # List of all the supported versions of the API |
| 85 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21 |
| 86 | # Specifies from which version related link should appear |
| 87 | related: |
| 88 | link: v11 |
| 89 | # Specifies from which version the app root change happened |
| 90 | app: |
| 91 | root: v11 |
| 92 | # Specifies from which version the xml namespace changed |
| 93 | namespace: |
| 94 | change: v12 |
| 95 | # Specifies from which version the edge label appeared in API |
| 96 | edge: |
| 97 | label: v12 |
| 98 | |
| 99 | # Keystore configuration password and filename |
| 100 | keystore: |
| 101 | filename: aai_keystore |
| 102 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 103 | |
| 104 | # Truststore configuration password and filename |
| 105 | truststore: |
| 106 | filename: aai_keystore |
| 107 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 108 | |
| 109 | |
| 110 | |
| 111 | # Specifies a list of files to be included in auth volume |
| 112 | auth: |
| 113 | files: |
| 114 | - aai_keystore |
| 115 | |
| 116 | # Specifies which clients should always default to realtime graph connection |
| 117 | realtime: |
| 118 | clients: SDNC,MSO,SO,robot-ete |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 119 | |
| 120 | |
| 121 | # application image |
Harish Venkata Kajur | 1209118 | 2021-02-25 13:21:54 -0500 | [diff] [blame] | 122 | image: onap/aai-graphadmin:1.8.0 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 123 | pullPolicy: Always |
| 124 | restartPolicy: Always |
| 125 | flavor: small |
| 126 | flavorOverride: small |
| 127 | # default number of instances |
| 128 | replicaCount: 1 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 129 | # the minimum number of seconds that a newly created Pod should be ready |
| 130 | minReadySeconds: 30 |
| 131 | updateStrategy: |
| 132 | type: RollingUpdate |
| 133 | # The number of pods that can be unavailable during the update process |
| 134 | maxUnavailable: 0 |
| 135 | # The number of pods that can be created above the desired amount of pods during an update |
| 136 | maxSurge: 1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 137 | |
| 138 | # Configuration for the graphadmin deployment |
| 139 | config: |
| 140 | |
| 141 | # Specify the profiles for the graphadmin microservice |
| 142 | profiles: |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 143 | # one way ssl profile will be set unless tlsEnabled is set to false or serviceMesh is enabled and |
| 144 | # serviceMesh.tls is set to tru |
| 145 | active: dmaap #,one-way-ssl" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 146 | |
| 147 | # Specifies the timeout limit for the REST API requests |
| 148 | timeout: |
| 149 | enabled: true |
| 150 | limit: 180000 |
| 151 | |
| 152 | # Default maximum records to fix for the data grooming and dupeTool |
| 153 | maxFix: |
| 154 | dataGrooming: 150 |
| 155 | dupeTool: 25 |
| 156 | |
| 157 | # Default number of sleep minutes for dataGrooming and dupeTool |
| 158 | sleepMinutes: |
| 159 | dataGrooming: 7 |
| 160 | dupeTool: 7 |
| 161 | |
| 162 | # Cron specific attributes to be triggered for the graphadmin spring cron tasks |
| 163 | cron: |
| 164 | # Specifies that the data grooming tool which runs duplicates should be enabled |
| 165 | dataGrooming: |
| 166 | enabled: true |
| 167 | # Specifies that the data snapshot which takes a graphson snapshot should be enabled |
| 168 | dataSnapshot: |
| 169 | enabled: true |
| 170 | params: JUST_TAKE_SNAPSHOT |
| 171 | |
| 172 | # Data cleanup which zips snapshots older than x days and deletes older than y days |
| 173 | dataCleanup: |
| 174 | |
| 175 | dataGrooming: |
| 176 | enabled: true |
| 177 | # Zips up the dataGrooming files older than 5 days |
| 178 | ageZip: 5 |
| 179 | # Deletes the dataGrooming files older than 30 days |
| 180 | ageDelete: 30 |
| 181 | |
| 182 | dataSnapshot: |
| 183 | enabled: true |
| 184 | # Zips up the dataSnapshot graphson files older than 5 days |
| 185 | ageZip: 5 |
| 186 | # Deletes the dataSnapshot graphson files older than 30 days |
| 187 | ageDelete: 30 |
| 188 | # Concurrency lock control flag |
| 189 | aai: |
| 190 | lock: |
| 191 | uri: |
| 192 | enabled: false |
| 193 | |
| 194 | |
| 195 | nodeSelector: {} |
| 196 | |
| 197 | affinity: {} |
| 198 | |
| 199 | # probe configuration parameters |
| 200 | liveness: |
| 201 | initialDelaySeconds: 60 |
| 202 | periodSeconds: 60 |
| 203 | # necessary to disable liveness probe when setting breakpoints |
| 204 | # in debugger so K8s doesn't restart unresponsive container |
| 205 | enabled: false |
| 206 | |
| 207 | readiness: |
| 208 | initialDelaySeconds: 60 |
| 209 | periodSeconds: 10 |
| 210 | |
| 211 | service: |
| 212 | type: ClusterIP |
| 213 | # REST API port for the graphadmin microservice |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 214 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 215 | internalPort: 8449 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 216 | portName2: tcp-5005 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 217 | internalPort2: 5005 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 218 | terminationGracePeriodSeconds: 120 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 219 | |
| 220 | ingress: |
| 221 | enabled: false |
| 222 | |
| 223 | persistence: |
| 224 | enabled: true |
| 225 | ## A manually managed Persistent Volume and Claim |
| 226 | ## Requires persistence.enabled: true |
| 227 | ## If defined, PVC must be created manually before volume will be bound |
| 228 | # existingClaim: |
| 229 | volumeReclaimPolicy: Retain |
| 230 | ## database data Persistent Volume Storage Class |
| 231 | ## If defined, storageClassName: <storageClass> |
| 232 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 233 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 234 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 235 | ## GKE, AWS & OpenStack) |
| 236 | ## |
| 237 | # storageClass: "-" |
| 238 | accessMode: ReadWriteMany |
| 239 | size: 2Gi |
| 240 | |
| 241 | mountPath: /dockerdata-nfs |
| 242 | mountSubPath: aai/aai-graphadmin |
| 243 | mountSubPath1: aai/migration |
| 244 | |
| 245 | resources: |
| 246 | small: |
| 247 | limits: |
| 248 | cpu: 2 |
| 249 | memory: 4Gi |
| 250 | requests: |
| 251 | cpu: 0.5 |
| 252 | memory: 1536Mi |
| 253 | large: |
| 254 | limits: |
| 255 | cpu: 4 |
| 256 | memory: 8Gi |
| 257 | requests: |
| 258 | cpu: 1 |
| 259 | memory: 2Gi |
| 260 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 261 | |
| 262 | #Pods Service Account |
| 263 | serviceAccount: |
| 264 | nameOverride: aai-graphadmin |
| 265 | roles: |
| 266 | - read |