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 | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 7 | # Copyright (c) 2020-2021 Orange Intellectual Property. All rights reserved. |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 8 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 9 | # ================================================================================ |
| 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
| 13 | # |
| 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | # |
| 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
| 21 | # ============LICENSE_END========================================================= |
| 22 | |
| 23 | # Default values for resources. |
| 24 | # This is a YAML-formatted file. |
| 25 | # Declare variables to be passed into your templates. |
| 26 | global: # global defaults |
| 27 | nodePortPrefix: 302 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 28 | cassandra: |
| 29 | #This will instantiate AAI cassandra cluster, default:shared cassandra. |
| 30 | localCluster: false |
| 31 | initContainers: |
| 32 | enabled: true |
| 33 | jobs: |
| 34 | # When enabled, it will create the schema based on oxm and edge rules |
| 35 | createSchema: |
| 36 | enabled: true |
| 37 | #migration using helm hooks |
| 38 | migration: |
| 39 | enabled: false |
| 40 | config: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 41 | |
| 42 | # Specifies that the cluster connected to a dynamic |
| 43 | # cluster being spinned up by kubernetes deployment |
| 44 | cluster: |
| 45 | cassandra: |
| 46 | dynamic: true |
| 47 | |
| 48 | # Specifies if the basic authorization is enabled |
| 49 | basic: |
| 50 | auth: |
| 51 | enabled: true |
| 52 | username: AAI |
| 53 | passwd: AAI |
| 54 | |
| 55 | # Notification event specific properties |
| 56 | notification: |
| 57 | eventType: AAI-EVENT |
| 58 | domain: dev |
| 59 | |
| 60 | # Schema specific properties that include supported versions of api |
| 61 | schema: |
| 62 | # 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] | 63 | # will be set to no-auth if tls is disabled |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 64 | service: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 65 | client: no-auth |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 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: |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 80 | default: v27 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 81 | # Specifies which version the depth parameter is configurable |
| 82 | depth: v11 |
| 83 | # List of all the supported versions of the API |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 84 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 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 | |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 98 | # Specifies which clients should always default to realtime graph connection |
| 99 | realtime: |
leila | 82c3c50 | 2022-11-15 19:58:11 -0500 | [diff] [blame] | 100 | clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 101 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 102 | # application image |
leila | cda9e14 | 2022-11-29 13:51:19 -0500 | [diff] [blame] | 103 | image: onap/aai-graphadmin:1.11.2 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 104 | pullPolicy: Always |
| 105 | restartPolicy: Always |
| 106 | flavor: small |
| 107 | flavorOverride: small |
| 108 | # default number of instances |
| 109 | replicaCount: 1 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 110 | # the minimum number of seconds that a newly created Pod should be ready |
| 111 | minReadySeconds: 30 |
| 112 | updateStrategy: |
| 113 | type: RollingUpdate |
| 114 | # The number of pods that can be unavailable during the update process |
| 115 | maxUnavailable: 0 |
| 116 | # The number of pods that can be created above the desired amount of pods during an update |
| 117 | maxSurge: 1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 118 | |
| 119 | # Configuration for the graphadmin deployment |
| 120 | config: |
| 121 | |
| 122 | # Specify the profiles for the graphadmin microservice |
| 123 | profiles: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 124 | |
| 125 | active: dmaap |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 126 | |
| 127 | # Specifies the timeout limit for the REST API requests |
| 128 | timeout: |
| 129 | enabled: true |
| 130 | limit: 180000 |
| 131 | |
| 132 | # Default maximum records to fix for the data grooming and dupeTool |
| 133 | maxFix: |
| 134 | dataGrooming: 150 |
| 135 | dupeTool: 25 |
| 136 | |
| 137 | # Default number of sleep minutes for dataGrooming and dupeTool |
| 138 | sleepMinutes: |
| 139 | dataGrooming: 7 |
| 140 | dupeTool: 7 |
| 141 | |
| 142 | # Cron specific attributes to be triggered for the graphadmin spring cron tasks |
| 143 | cron: |
| 144 | # Specifies that the data grooming tool which runs duplicates should be enabled |
| 145 | dataGrooming: |
| 146 | enabled: true |
| 147 | # Specifies that the data snapshot which takes a graphson snapshot should be enabled |
| 148 | dataSnapshot: |
| 149 | enabled: true |
| 150 | params: JUST_TAKE_SNAPSHOT |
| 151 | |
| 152 | # Data cleanup which zips snapshots older than x days and deletes older than y days |
| 153 | dataCleanup: |
| 154 | |
| 155 | dataGrooming: |
| 156 | enabled: true |
| 157 | # Zips up the dataGrooming files older than 5 days |
| 158 | ageZip: 5 |
| 159 | # Deletes the dataGrooming files older than 30 days |
| 160 | ageDelete: 30 |
| 161 | |
| 162 | dataSnapshot: |
| 163 | enabled: true |
| 164 | # Zips up the dataSnapshot graphson files older than 5 days |
| 165 | ageZip: 5 |
| 166 | # Deletes the dataSnapshot graphson files older than 30 days |
| 167 | ageDelete: 30 |
| 168 | # Concurrency lock control flag |
| 169 | aai: |
| 170 | lock: |
| 171 | uri: |
| 172 | enabled: false |
| 173 | |
| 174 | |
| 175 | nodeSelector: {} |
| 176 | |
| 177 | affinity: {} |
| 178 | |
| 179 | # probe configuration parameters |
| 180 | liveness: |
| 181 | initialDelaySeconds: 60 |
| 182 | periodSeconds: 60 |
| 183 | # necessary to disable liveness probe when setting breakpoints |
| 184 | # in debugger so K8s doesn't restart unresponsive container |
| 185 | enabled: false |
| 186 | |
| 187 | readiness: |
| 188 | initialDelaySeconds: 60 |
| 189 | periodSeconds: 10 |
| 190 | |
| 191 | service: |
| 192 | type: ClusterIP |
| 193 | # REST API port for the graphadmin microservice |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 194 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 195 | internalPort: 8449 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 196 | portName2: tcp-5005 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 197 | internalPort2: 5005 |
Andreas Geissler | ceac260 | 2023-07-17 18:55:54 +0200 | [diff] [blame] | 198 | portName3: http-graphadmin |
leila | 46fb580 | 2022-11-15 11:33:21 -0500 | [diff] [blame] | 199 | internalPort3: 8448 |
M.Hosnidokht | 6c80653 | 2021-08-25 09:19:41 -0400 | [diff] [blame] | 200 | terminationGracePeriodSeconds: 120 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 201 | |
| 202 | ingress: |
| 203 | enabled: false |
| 204 | |
AndrewLamb | 0e7c7fe | 2023-05-17 14:13:54 +0100 | [diff] [blame] | 205 | # No inbound communications. |
| 206 | serviceMesh: |
| 207 | authorizationPolicy: |
| 208 | authorizedPrincipals: [] |
| 209 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 210 | persistence: |
| 211 | enabled: true |
| 212 | ## A manually managed Persistent Volume and Claim |
| 213 | ## Requires persistence.enabled: true |
| 214 | ## If defined, PVC must be created manually before volume will be bound |
| 215 | # existingClaim: |
| 216 | volumeReclaimPolicy: Retain |
| 217 | ## database data Persistent Volume Storage Class |
| 218 | ## If defined, storageClassName: <storageClass> |
| 219 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 220 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 221 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 222 | ## GKE, AWS & OpenStack) |
| 223 | ## |
| 224 | # storageClass: "-" |
| 225 | accessMode: ReadWriteMany |
| 226 | size: 2Gi |
| 227 | |
| 228 | mountPath: /dockerdata-nfs |
| 229 | mountSubPath: aai/aai-graphadmin |
| 230 | mountSubPath1: aai/migration |
| 231 | |
leila | 0b3f79f | 2022-11-04 18:00:11 -0400 | [diff] [blame] | 232 | # To make logback capping values configurable |
| 233 | logback: |
| 234 | logToFileEnabled: true |
| 235 | maxHistory: 7 |
| 236 | totalSizeCap: 6GB |
| 237 | queueSize: 1000 |
| 238 | |
| 239 | accessLogback: |
| 240 | logToFileEnabled: true |
| 241 | maxHistory: 7 |
| 242 | totalSizeCap: 6GB |
| 243 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 244 | resources: |
| 245 | small: |
| 246 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 247 | cpu: 999 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 248 | memory: 4Gi |
| 249 | requests: |
| 250 | cpu: 0.5 |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 251 | memory: 1.6Gi |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 252 | large: |
| 253 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 254 | cpu: 999 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 255 | memory: 8Gi |
| 256 | requests: |
| 257 | cpu: 1 |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 258 | memory: 3.2Gi |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 259 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 260 | |
leila | 46fb580 | 2022-11-15 11:33:21 -0500 | [diff] [blame] | 261 | metrics: |
| 262 | serviceMonitor: |
| 263 | enabled: false |
| 264 | targetPort: 8448 |
| 265 | path: /prometheus |
| 266 | basicAuth: |
| 267 | enabled: false |
| 268 | |
| 269 | selector: |
| 270 | app: '{{ include "common.name" . }}' |
| 271 | chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' |
| 272 | release: '{{ include "common.release" . }}' |
| 273 | heritage: '{{ .Release.Service }}' |
| 274 | |
| 275 | relabelings: [] |
| 276 | |
| 277 | metricRelabelings: [] |
| 278 | |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 279 | # Not fully used for now |
| 280 | securityContext: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 281 | user_id: 1000 |
| 282 | group_id: 1000 |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 283 | |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 284 | #Pods Service Account |
| 285 | serviceAccount: |
| 286 | nameOverride: aai-graphadmin |
| 287 | roles: |
| 288 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 289 | #Log configuration |
| 290 | log: |
| 291 | path: /var/log/onap |
| 292 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |