[AAI] Service Mesh compatibility
[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 Orange Intellectual Property. All rights reserved.
8 # ================================================================================
9 # Licensed under the Apache License, Version 2.0 (the "License");
10 # you may not use this file except in compliance with the License.
11 # You may obtain a copy of the License at
12 #
13 #    http://www.apache.org/licenses/LICENSE-2.0
14 #
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20 # ============LICENSE_END=========================================================
21
22 # Default values for resources.
23 # This is a YAML-formatted file.
24 # Declare variables to be passed into your templates.
25 global: # global defaults
26   nodePortPrefix: 302
27   cassandra:
28     #This will instantiate AAI cassandra cluster, default:shared cassandra.
29     localCluster: false
30   initContainers:
31     enabled: true
32   jobs:
33     # When enabled, it will create the schema based on oxm and edge rules
34     createSchema:
35       enabled: true
36     #migration using helm hooks
37     migration:
38       enabled: false
39   config:
40     # User information for the admin user in container
41     userId: 1000
42
43     # Specifies that the cluster connected to a dynamic
44     # cluster being spinned up by kubernetes deployment
45     cluster:
46       cassandra:
47         dynamic: true
48
49     # Specifies if the basic authorization is enabled
50     basic:
51       auth:
52         enabled: true
53         username: AAI
54         passwd: AAI
55
56     # Notification event specific properties
57     notification:
58       eventType: AAI-EVENT
59       domain: dev
60
61     # Schema specific properties that include supported versions of api
62     schema:
63       # Specifies if the connection should be one way ssl, two way ssl or no auth
64       # will be set to no-auth if tls is disabled
65       service:
66         client: one-way-ssl
67       # Specifies which translator to use if it has schema-service, then it will
68       # make a rest request to schema service
69       translator:
70         list: schema-service
71       source:
72         # Specifies which folder to take a look at
73         name: onap
74       uri:
75         # Base URI Path of the application
76         base:
77           path: /aai
78       version:
79         # Current version of the REST API
80         api:
81           default: v21
82         # Specifies which version the depth parameter is configurable
83         depth: v11
84         # List of all the supported versions of the API
85         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
86         # Specifies from which version related link should appear
87         related:
88           link: v11
89         # Specifies from which version the app root change happened
90         app:
91           root: v11
92         # Specifies from which version the xml namespace changed
93         namespace:
94           change: v12
95         # Specifies from which version the edge label appeared in API
96         edge:
97           label: v12
98
99     # Keystore configuration password and filename
100     keystore:
101       filename: aai_keystore
102       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
103
104     # Truststore configuration password and filename
105     truststore:
106       filename: aai_keystore
107       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
108
109
110
111     # Specifies a list of files to be included in auth volume
112     auth:
113       files:
114         - aai_keystore
115
116     # Specifies which clients should always default to realtime graph connection
117     realtime:
118       clients: SDNC,MSO,SO,robot-ete
119
120
121 # application image
122 image: onap/aai-graphadmin:1.8.0
123 pullPolicy: Always
124 restartPolicy: Always
125 flavor: small
126 flavorOverride: small
127 # default number of instances
128 replicaCount: 1
129
130 # Configuration for the graphadmin deployment
131 config:
132
133   # Specify the profiles for the graphadmin microservice
134   profiles:
135     # one way ssl profile will be set unless tlsEnabled is set to false or serviceMesh is enabled and
136     # serviceMesh.tls is set to tru
137     active: dmaap #,one-way-ssl"
138
139   # Specifies the timeout limit for the REST API requests
140   timeout:
141     enabled: true
142     limit: 180000
143
144   # Default maximum records to fix for the data grooming and dupeTool
145   maxFix:
146     dataGrooming: 150
147     dupeTool: 25
148
149   # Default number of sleep minutes for dataGrooming and dupeTool
150   sleepMinutes:
151     dataGrooming: 7
152     dupeTool: 7
153
154   # Cron specific attributes to be triggered for the graphadmin spring cron tasks
155   cron:
156     # Specifies that the data grooming tool which runs duplicates should be enabled
157     dataGrooming:
158       enabled: true
159     # Specifies that the data snapshot which takes a graphson snapshot should be enabled
160     dataSnapshot:
161       enabled: true
162       params: JUST_TAKE_SNAPSHOT
163
164     # Data cleanup which zips snapshots older than x days and deletes older than y days
165     dataCleanup:
166
167       dataGrooming:
168         enabled: true
169         # Zips up the dataGrooming files older than 5 days
170         ageZip: 5
171         # Deletes the dataGrooming files older than 30 days
172         ageDelete: 30
173
174       dataSnapshot:
175         enabled: true
176         # Zips up the dataSnapshot graphson files older than 5 days
177         ageZip: 5
178         # Deletes the dataSnapshot graphson files older than 30 days
179         ageDelete: 30
180   # Concurrency lock control flag
181   aai:
182     lock:
183       uri:
184         enabled: false
185
186
187 nodeSelector: {}
188
189 affinity: {}
190
191 # probe configuration parameters
192 liveness:
193   initialDelaySeconds: 60
194   periodSeconds: 60
195   # necessary to disable liveness probe when setting breakpoints
196   # in debugger so K8s doesn't restart unresponsive container
197   enabled: false
198
199 readiness:
200   initialDelaySeconds: 60
201   periodSeconds: 10
202
203 service:
204   type: ClusterIP
205   # REST API port for the graphadmin microservice
206   portName: http
207   internalPort: 8449
208   portName2: tcp-5005
209   internalPort2: 5005
210
211 ingress:
212   enabled: false
213
214 persistence:
215   enabled: true
216   ## A manually managed Persistent Volume and Claim
217   ## Requires persistence.enabled: true
218   ## If defined, PVC must be created manually before volume will be bound
219   # existingClaim:
220   volumeReclaimPolicy: Retain
221   ## database data Persistent Volume Storage Class
222   ## If defined, storageClassName: <storageClass>
223   ## If set to "-", storageClassName: "", which disables dynamic provisioning
224   ## If undefined (the default) or set to null, no storageClassName spec is
225   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
226   ##   GKE, AWS & OpenStack)
227   ##
228   # storageClass: "-"
229   accessMode: ReadWriteMany
230   size: 2Gi
231
232   mountPath: /dockerdata-nfs
233   mountSubPath: aai/aai-graphadmin
234   mountSubPath1: aai/migration
235
236 resources:
237   small:
238     limits:
239       cpu: 2
240       memory: 4Gi
241     requests:
242       cpu: 0.5
243       memory: 1536Mi
244   large:
245     limits:
246       cpu: 4
247       memory: 8Gi
248     requests:
249       cpu: 1
250       memory: 2Gi
251   unlimited: {}