blob: 3e3d685ad847bf133038da4d1c998db1f35fa839 [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
205persistence:
206 enabled: true
207 ## A manually managed Persistent Volume and Claim
208 ## Requires persistence.enabled: true
209 ## If defined, PVC must be created manually before volume will be bound
210 # existingClaim:
211 volumeReclaimPolicy: Retain
212 ## database data Persistent Volume Storage Class
213 ## If defined, storageClassName: <storageClass>
214 ## If set to "-", storageClassName: "", which disables dynamic provisioning
215 ## If undefined (the default) or set to null, no storageClassName spec is
216 ## set, choosing the default provisioner. (gp2 on AWS, standard on
217 ## GKE, AWS & OpenStack)
218 ##
219 # storageClass: "-"
220 accessMode: ReadWriteMany
221 size: 2Gi
222
223 mountPath: /dockerdata-nfs
224 mountSubPath: aai/aai-graphadmin
225 mountSubPath1: aai/migration
226
leila0b3f79f2022-11-04 18:00:11 -0400227# To make logback capping values configurable
228logback:
229 logToFileEnabled: true
230 maxHistory: 7
231 totalSizeCap: 6GB
232 queueSize: 1000
233
234accessLogback:
235 logToFileEnabled: true
236 maxHistory: 7
237 totalSizeCap: 6GB
238
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100239resources:
240 small:
241 limits:
242 cpu: 2
243 memory: 4Gi
244 requests:
245 cpu: 0.5
246 memory: 1536Mi
247 large:
248 limits:
249 cpu: 4
250 memory: 8Gi
251 requests:
252 cpu: 1
253 memory: 2Gi
254 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200255
leila46fb5802022-11-15 11:33:21 -0500256metrics:
257 serviceMonitor:
258 enabled: false
259 targetPort: 8448
260 path: /prometheus
261 basicAuth:
262 enabled: false
263
264 selector:
265 app: '{{ include "common.name" . }}'
266 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
267 release: '{{ include "common.release" . }}'
268 heritage: '{{ .Release.Service }}'
269
270 relabelings: []
271
272 metricRelabelings: []
273
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100274# Not fully used for now
275securityContext:
efiacord12c1672023-03-23 12:10:50 +0000276 user_id: 1000
277 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100278
farida azmyd8937332021-03-09 12:20:42 +0200279#Pods Service Account
280serviceAccount:
281 nameOverride: aai-graphadmin
282 roles:
283 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200284#Log configuration
285log:
286 path: /var/log/onap
287logConfigMapNamePrefix: '{{ include "common.fullname" . }}'