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