blob: e75d4dfd50865edee89125adc85867dbf113c66f [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001#
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 Desbureauxc57b58d2021-02-23 18:07:34 +01007# Copyright (c) 2020-2021 Orange Intellectual Property. All rights reserved.
efiacord12c1672023-03-23 12:10:50 +00008# Modifications Copyright © 2023 Nordix Foundation
Sylvain Desbureaux70070412020-11-09 21:58:48 +01009# ================================================================================
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.
26global: # global defaults
27 nodePortPrefix: 302
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010028 cassandra:
29 #This will instantiate AAI cassandra cluster, default:shared cassandra.
30 localCluster: false
Andreas Geissler891eeb72023-10-12 13:10:53 +020031 # flag to enable the DB creation via k8ssandra-operator
32 useOperator: true
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010033 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 Desbureaux5b651322020-12-07 15:34:15 +010043
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
osk1146127fd7d82021-06-18 00:51:17 +020065 # will be set to no-auth if tls is disabled
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010066 service:
efiacord12c1672023-03-23 12:10:50 +000067 client: no-auth
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010068 # 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:
wr148dcd3e6b72022-08-19 16:17:44 -040082 default: v27
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010083 # Specifies which version the depth parameter is configurable
84 depth: v11
85 # List of all the supported versions of the API
wr148dcd3e6b72022-08-19 16:17:44 -040086 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010087 # 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 Desbureaux5b651322020-12-07 15:34:15 +0100100 # Specifies which clients should always default to realtime graph connection
101 realtime:
leila82c3c502022-11-15 19:58:11 -0500102 clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100103
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100104# application image
leilacda9e142022-11-29 13:51:19 -0500105image: onap/aai-graphadmin:1.11.2
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100106pullPolicy: Always
107restartPolicy: Always
108flavor: small
109flavorOverride: small
110# default number of instances
111replicaCount: 1
M.Hosnidokht6c806532021-08-25 09:19:41 -0400112# the minimum number of seconds that a newly created Pod should be ready
113minReadySeconds: 30
114updateStrategy:
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 Desbureaux70070412020-11-09 21:58:48 +0100120
121# Configuration for the graphadmin deployment
122config:
123
124 # Specify the profiles for the graphadmin microservice
125 profiles:
efiacord12c1672023-03-23 12:10:50 +0000126
127 active: dmaap
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100128
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
177nodeSelector: {}
178
179affinity: {}
180
181# probe configuration parameters
182liveness:
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
189readiness:
190 initialDelaySeconds: 60
191 periodSeconds: 10
192
193service:
194 type: ClusterIP
195 # REST API port for the graphadmin microservice
osk1146127fd7d82021-06-18 00:51:17 +0200196 portName: http
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100197 internalPort: 8449
osk1146127fd7d82021-06-18 00:51:17 +0200198 portName2: tcp-5005
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100199 internalPort2: 5005
Andreas Geisslerceac2602023-07-17 18:55:54 +0200200 portName3: http-graphadmin
leila46fb5802022-11-15 11:33:21 -0500201 internalPort3: 8448
M.Hosnidokht6c806532021-08-25 09:19:41 -0400202 terminationGracePeriodSeconds: 120
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100203
204ingress:
205 enabled: false
206
AndrewLamb0e7c7fe2023-05-17 14:13:54 +0100207# No inbound communications.
208serviceMesh:
209 authorizationPolicy:
210 authorizedPrincipals: []
211
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100212persistence:
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
leila0b3f79f2022-11-04 18:00:11 -0400234# To make logback capping values configurable
235logback:
236 logToFileEnabled: true
237 maxHistory: 7
238 totalSizeCap: 6GB
239 queueSize: 1000
240
241accessLogback:
242 logToFileEnabled: true
243 maxHistory: 7
244 totalSizeCap: 6GB
245
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100246resources:
247 small:
248 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200249 cpu: 999
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100250 memory: 4Gi
251 requests:
252 cpu: 0.5
Andreas Geissler555db9c2023-06-20 11:38:39 +0200253 memory: 1.6Gi
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100254 large:
255 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200256 cpu: 999
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100257 memory: 8Gi
258 requests:
259 cpu: 1
Andreas Geissler555db9c2023-06-20 11:38:39 +0200260 memory: 3.2Gi
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100261 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200262
leila46fb5802022-11-15 11:33:21 -0500263metrics:
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 Desbureauxc57b58d2021-02-23 18:07:34 +0100281# Not fully used for now
282securityContext:
efiacord12c1672023-03-23 12:10:50 +0000283 user_id: 1000
284 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100285
farida azmyd8937332021-03-09 12:20:42 +0200286#Pods Service Account
287serviceAccount:
288 nameOverride: aai-graphadmin
289 roles:
290 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200291#Log configuration
292log:
293 path: /var/log/onap
294logConfigMapNamePrefix: '{{ include "common.fullname" . }}'