blob: 253a11c5c8c3e10b0c2773d7af3f2aed11d6389d [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
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 Desbureaux5b651322020-12-07 15:34:15 +010041
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
osk1146127fd7d82021-06-18 00:51:17 +020063 # will be set to no-auth if tls is disabled
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010064 service:
efiacord12c1672023-03-23 12:10:50 +000065 client: no-auth
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010066 # 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:
wr148dcd3e6b72022-08-19 16:17:44 -040080 default: v27
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010081 # Specifies which version the depth parameter is configurable
82 depth: v11
83 # List of all the supported versions of the API
wr148dcd3e6b72022-08-19 16:17:44 -040084 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 +010085 # 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 Desbureaux5b651322020-12-07 15:34:15 +010098 # Specifies which clients should always default to realtime graph connection
99 realtime:
leila82c3c502022-11-15 19:58:11 -0500100 clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100101
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100102# application image
leilacda9e142022-11-29 13:51:19 -0500103image: onap/aai-graphadmin:1.11.2
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100104pullPolicy: Always
105restartPolicy: Always
106flavor: small
107flavorOverride: small
108# default number of instances
109replicaCount: 1
M.Hosnidokht6c806532021-08-25 09:19:41 -0400110# the minimum number of seconds that a newly created Pod should be ready
111minReadySeconds: 30
112updateStrategy:
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 Desbureaux70070412020-11-09 21:58:48 +0100118
119# Configuration for the graphadmin deployment
120config:
121
122 # Specify the profiles for the graphadmin microservice
123 profiles:
efiacord12c1672023-03-23 12:10:50 +0000124
125 active: dmaap
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100126
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
175nodeSelector: {}
176
177affinity: {}
178
179# probe configuration parameters
180liveness:
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
187readiness:
188 initialDelaySeconds: 60
189 periodSeconds: 10
190
191service:
192 type: ClusterIP
193 # REST API port for the graphadmin microservice
osk1146127fd7d82021-06-18 00:51:17 +0200194 portName: http
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100195 internalPort: 8449
osk1146127fd7d82021-06-18 00:51:17 +0200196 portName2: tcp-5005
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100197 internalPort2: 5005
Fiete Ostkamp7044e682023-04-19 13:25:18 +0000198 portName3: http-aai-graphadmin
leila46fb5802022-11-15 11:33:21 -0500199 internalPort3: 8448
M.Hosnidokht6c806532021-08-25 09:19:41 -0400200 terminationGracePeriodSeconds: 120
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100201
202ingress:
203 enabled: false
204
AndrewLamb0e7c7fe2023-05-17 14:13:54 +0100205# No inbound communications.
206serviceMesh:
207 authorizationPolicy:
208 authorizedPrincipals: []
209
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100210persistence:
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
leila0b3f79f2022-11-04 18:00:11 -0400232# To make logback capping values configurable
233logback:
234 logToFileEnabled: true
235 maxHistory: 7
236 totalSizeCap: 6GB
237 queueSize: 1000
238
239accessLogback:
240 logToFileEnabled: true
241 maxHistory: 7
242 totalSizeCap: 6GB
243
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100244resources:
245 small:
246 limits:
247 cpu: 2
248 memory: 4Gi
249 requests:
250 cpu: 0.5
251 memory: 1536Mi
252 large:
253 limits:
254 cpu: 4
255 memory: 8Gi
256 requests:
257 cpu: 1
258 memory: 2Gi
259 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200260
leila46fb5802022-11-15 11:33:21 -0500261metrics:
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 Desbureauxc57b58d2021-02-23 18:07:34 +0100279# Not fully used for now
280securityContext:
efiacord12c1672023-03-23 12:10:50 +0000281 user_id: 1000
282 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100283
farida azmyd8937332021-03-09 12:20:42 +0200284#Pods Service Account
285serviceAccount:
286 nameOverride: aai-graphadmin
287 roles:
288 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200289#Log configuration
290log:
291 path: /var/log/onap
292logConfigMapNamePrefix: '{{ include "common.fullname" . }}'