[AAI] Remove AAF/TLS config from charts
[oom.git] / kubernetes / aai / components / aai-graphadmin / values.yaml
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.
7 # Copyright (c) 2020-2021 Orange Intellectual Property. All rights reserved.
8 # Modifications Copyright © 2023 Nordix Foundation
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
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:
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
63       # will be set to no-auth if tls is disabled
64       service:
65         client: no-auth
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:
80           default: v27
81         # Specifies which version the depth parameter is configurable
82         depth: v11
83         # List of all the supported versions of the API
84         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
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
98     # Specifies which clients should always default to realtime graph connection
99     realtime:
100       clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1
101
102 # application image
103 image: onap/aai-graphadmin:1.11.2
104 pullPolicy: Always
105 restartPolicy: Always
106 flavor: small
107 flavorOverride: small
108 # default number of instances
109 replicaCount: 1
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
118
119 # Configuration for the graphadmin deployment
120 config:
121
122   # Specify the profiles for the graphadmin microservice
123   profiles:
124
125     active: dmaap
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
194   portName: http
195   internalPort: 8449
196   portName2: tcp-5005
197   internalPort2: 5005
198   portName3: aai-graphadmin-8448
199   internalPort3: 8448
200   terminationGracePeriodSeconds: 120
201
202 ingress:
203   enabled: false
204
205 persistence:
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
227 # To make logback capping values configurable
228 logback:
229   logToFileEnabled: true
230   maxHistory: 7
231   totalSizeCap: 6GB
232   queueSize: 1000
233
234 accessLogback:
235   logToFileEnabled: true
236   maxHistory: 7
237   totalSizeCap: 6GB
238
239 resources:
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: {}
255
256 metrics:
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
274 # Not fully used for now
275 securityContext:
276   user_id: 1000
277   group_id: 1000
278
279 #Pods Service Account
280 serviceAccount:
281   nameOverride: aai-graphadmin
282   roles:
283     - read
284 #Log configuration
285 log:
286   path: /var/log/onap
287 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'