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 |
| 64 | service: |
| 65 | client: one-way-ssl |
| 66 | # Specifies which translator to use if it has schema-service, then it will |
| 67 | # make a rest request to schema service |
| 68 | translator: |
| 69 | list: schema-service |
| 70 | source: |
| 71 | # Specifies which folder to take a look at |
| 72 | name: onap |
| 73 | uri: |
| 74 | # Base URI Path of the application |
| 75 | base: |
| 76 | path: /aai |
| 77 | version: |
| 78 | # Current version of the REST API |
| 79 | api: |
| 80 | default: v21 |
| 81 | # Specifies which version the depth parameter is configurable |
| 82 | depth: v11 |
| 83 | # List of all the supported versions of the API |
| 84 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21 |
| 85 | # Specifies from which version related link should appear |
| 86 | related: |
| 87 | link: v11 |
| 88 | # Specifies from which version the app root change happened |
| 89 | app: |
| 90 | root: v11 |
| 91 | # Specifies from which version the xml namespace changed |
| 92 | namespace: |
| 93 | change: v12 |
| 94 | # Specifies from which version the edge label appeared in API |
| 95 | edge: |
| 96 | label: v12 |
| 97 | |
| 98 | # Keystore configuration password and filename |
| 99 | keystore: |
| 100 | filename: aai_keystore |
| 101 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 102 | |
| 103 | # Truststore configuration password and filename |
| 104 | truststore: |
| 105 | filename: aai_keystore |
| 106 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 107 | |
| 108 | |
| 109 | |
| 110 | # Specifies a list of files to be included in auth volume |
| 111 | auth: |
| 112 | files: |
| 113 | - aai_keystore |
| 114 | |
| 115 | # Specifies which clients should always default to realtime graph connection |
| 116 | realtime: |
| 117 | clients: SDNC,MSO,SO,robot-ete |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 118 | |
| 119 | |
| 120 | # application image |
Harish Venkata Kajur | 1209118 | 2021-02-25 13:21:54 -0500 | [diff] [blame] | 121 | image: onap/aai-graphadmin:1.8.0 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 122 | pullPolicy: Always |
| 123 | restartPolicy: Always |
| 124 | flavor: small |
| 125 | flavorOverride: small |
| 126 | # default number of instances |
| 127 | replicaCount: 1 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 128 | # the minimum number of seconds that a newly created Pod should be ready |
| 129 | minReadySeconds: 30 |
| 130 | updateStrategy: |
| 131 | type: RollingUpdate |
| 132 | # The number of pods that can be unavailable during the update process |
| 133 | maxUnavailable: 0 |
| 134 | # The number of pods that can be created above the desired amount of pods during an update |
| 135 | maxSurge: 1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 136 | |
| 137 | # Configuration for the graphadmin deployment |
| 138 | config: |
| 139 | |
| 140 | # Specify the profiles for the graphadmin microservice |
| 141 | profiles: |
| 142 | active: "dmaap,one-way-ssl" |
| 143 | |
| 144 | # Specifies the timeout limit for the REST API requests |
| 145 | timeout: |
| 146 | enabled: true |
| 147 | limit: 180000 |
| 148 | |
| 149 | # Default maximum records to fix for the data grooming and dupeTool |
| 150 | maxFix: |
| 151 | dataGrooming: 150 |
| 152 | dupeTool: 25 |
| 153 | |
| 154 | # Default number of sleep minutes for dataGrooming and dupeTool |
| 155 | sleepMinutes: |
| 156 | dataGrooming: 7 |
| 157 | dupeTool: 7 |
| 158 | |
| 159 | # Cron specific attributes to be triggered for the graphadmin spring cron tasks |
| 160 | cron: |
| 161 | # Specifies that the data grooming tool which runs duplicates should be enabled |
| 162 | dataGrooming: |
| 163 | enabled: true |
| 164 | # Specifies that the data snapshot which takes a graphson snapshot should be enabled |
| 165 | dataSnapshot: |
| 166 | enabled: true |
| 167 | params: JUST_TAKE_SNAPSHOT |
| 168 | |
| 169 | # Data cleanup which zips snapshots older than x days and deletes older than y days |
| 170 | dataCleanup: |
| 171 | |
| 172 | dataGrooming: |
| 173 | enabled: true |
| 174 | # Zips up the dataGrooming files older than 5 days |
| 175 | ageZip: 5 |
| 176 | # Deletes the dataGrooming files older than 30 days |
| 177 | ageDelete: 30 |
| 178 | |
| 179 | dataSnapshot: |
| 180 | enabled: true |
| 181 | # Zips up the dataSnapshot graphson files older than 5 days |
| 182 | ageZip: 5 |
| 183 | # Deletes the dataSnapshot graphson files older than 30 days |
| 184 | ageDelete: 30 |
| 185 | # Concurrency lock control flag |
| 186 | aai: |
| 187 | lock: |
| 188 | uri: |
| 189 | enabled: false |
| 190 | |
| 191 | |
| 192 | nodeSelector: {} |
| 193 | |
| 194 | affinity: {} |
| 195 | |
| 196 | # probe configuration parameters |
| 197 | liveness: |
| 198 | initialDelaySeconds: 60 |
| 199 | periodSeconds: 60 |
| 200 | # necessary to disable liveness probe when setting breakpoints |
| 201 | # in debugger so K8s doesn't restart unresponsive container |
| 202 | enabled: false |
| 203 | |
| 204 | readiness: |
| 205 | initialDelaySeconds: 60 |
| 206 | periodSeconds: 10 |
| 207 | |
| 208 | service: |
| 209 | type: ClusterIP |
| 210 | # REST API port for the graphadmin microservice |
| 211 | portName: aai-graphadmin-8449 |
| 212 | internalPort: 8449 |
| 213 | portName2: aai-graphadmin-5005 |
| 214 | internalPort2: 5005 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 215 | terminationGracePeriodSeconds: 120 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 216 | |
| 217 | ingress: |
| 218 | enabled: false |
| 219 | |
| 220 | persistence: |
| 221 | enabled: true |
| 222 | ## A manually managed Persistent Volume and Claim |
| 223 | ## Requires persistence.enabled: true |
| 224 | ## If defined, PVC must be created manually before volume will be bound |
| 225 | # existingClaim: |
| 226 | volumeReclaimPolicy: Retain |
| 227 | ## database data Persistent Volume Storage Class |
| 228 | ## If defined, storageClassName: <storageClass> |
| 229 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 230 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 231 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 232 | ## GKE, AWS & OpenStack) |
| 233 | ## |
| 234 | # storageClass: "-" |
| 235 | accessMode: ReadWriteMany |
| 236 | size: 2Gi |
| 237 | |
| 238 | mountPath: /dockerdata-nfs |
| 239 | mountSubPath: aai/aai-graphadmin |
| 240 | mountSubPath1: aai/migration |
| 241 | |
| 242 | resources: |
| 243 | small: |
| 244 | limits: |
| 245 | cpu: 2 |
| 246 | memory: 4Gi |
| 247 | requests: |
| 248 | cpu: 0.5 |
| 249 | memory: 1536Mi |
| 250 | large: |
| 251 | limits: |
| 252 | cpu: 4 |
| 253 | memory: 8Gi |
| 254 | requests: |
| 255 | cpu: 1 |
| 256 | memory: 2Gi |
| 257 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 258 | |
| 259 | #Pods Service Account |
| 260 | serviceAccount: |
| 261 | nameOverride: aai-graphadmin |
| 262 | roles: |
| 263 | - read |