blob: 63c668fb9e89921aca0da292f1ba00de02a93880 [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 Desbureaux5b651322020-12-07 15:34:15 +01007# Copyright (c) 2020 Orange Intellectual Property. All rights reserved.
Sylvain Desbureaux70070412020-11-09 21:58:48 +01008# ================================================================================
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.
25global: # global defaults
26 nodePortPrefix: 302
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010027 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 service:
65 client: one-way-ssl
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: v21
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
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 # Keystore configuration password and filename
99 keystore:
100 filename: aai_keystore
101 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
102
103 # Truststore configuration password and filename
104 truststore:
105 filename: aai_keystore
106 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
107
108
109
110 # Specifies a list of files to be included in auth volume
111 auth:
112 files:
113 - aai_keystore
114
115 # Specifies which clients should always default to realtime graph connection
116 realtime:
117 clients: SDNC,MSO,SO,robot-ete
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100118
119
120# application image
Harish Venkata Kajur12091182021-02-25 13:21:54 -0500121image: onap/aai-graphadmin:1.8.0
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100122pullPolicy: Always
123restartPolicy: Always
124flavor: small
125flavorOverride: small
126# default number of instances
127replicaCount: 1
128
129# Configuration for the graphadmin deployment
130config:
131
132 # Specify the profiles for the graphadmin microservice
133 profiles:
134 active: "dmaap,one-way-ssl"
135
136 # Specifies the timeout limit for the REST API requests
137 timeout:
138 enabled: true
139 limit: 180000
140
141 # Default maximum records to fix for the data grooming and dupeTool
142 maxFix:
143 dataGrooming: 150
144 dupeTool: 25
145
146 # Default number of sleep minutes for dataGrooming and dupeTool
147 sleepMinutes:
148 dataGrooming: 7
149 dupeTool: 7
150
151 # Cron specific attributes to be triggered for the graphadmin spring cron tasks
152 cron:
153 # Specifies that the data grooming tool which runs duplicates should be enabled
154 dataGrooming:
155 enabled: true
156 # Specifies that the data snapshot which takes a graphson snapshot should be enabled
157 dataSnapshot:
158 enabled: true
159 params: JUST_TAKE_SNAPSHOT
160
161 # Data cleanup which zips snapshots older than x days and deletes older than y days
162 dataCleanup:
163
164 dataGrooming:
165 enabled: true
166 # Zips up the dataGrooming files older than 5 days
167 ageZip: 5
168 # Deletes the dataGrooming files older than 30 days
169 ageDelete: 30
170
171 dataSnapshot:
172 enabled: true
173 # Zips up the dataSnapshot graphson files older than 5 days
174 ageZip: 5
175 # Deletes the dataSnapshot graphson files older than 30 days
176 ageDelete: 30
177 # Concurrency lock control flag
178 aai:
179 lock:
180 uri:
181 enabled: false
182
183
184nodeSelector: {}
185
186affinity: {}
187
188# probe configuration parameters
189liveness:
190 initialDelaySeconds: 60
191 periodSeconds: 60
192 # necessary to disable liveness probe when setting breakpoints
193 # in debugger so K8s doesn't restart unresponsive container
194 enabled: false
195
196readiness:
197 initialDelaySeconds: 60
198 periodSeconds: 10
199
200service:
201 type: ClusterIP
202 # REST API port for the graphadmin microservice
203 portName: aai-graphadmin-8449
204 internalPort: 8449
205 portName2: aai-graphadmin-5005
206 internalPort2: 5005
207
208ingress:
209 enabled: false
210
211persistence:
212 enabled: true
213 ## A manually managed Persistent Volume and Claim
214 ## Requires persistence.enabled: true
215 ## If defined, PVC must be created manually before volume will be bound
216 # existingClaim:
217 volumeReclaimPolicy: Retain
218 ## database data Persistent Volume Storage Class
219 ## If defined, storageClassName: <storageClass>
220 ## If set to "-", storageClassName: "", which disables dynamic provisioning
221 ## If undefined (the default) or set to null, no storageClassName spec is
222 ## set, choosing the default provisioner. (gp2 on AWS, standard on
223 ## GKE, AWS & OpenStack)
224 ##
225 # storageClass: "-"
226 accessMode: ReadWriteMany
227 size: 2Gi
228
229 mountPath: /dockerdata-nfs
230 mountSubPath: aai/aai-graphadmin
231 mountSubPath1: aai/migration
232
233resources:
234 small:
235 limits:
236 cpu: 2
237 memory: 4Gi
238 requests:
239 cpu: 0.5
240 memory: 1536Mi
241 large:
242 limits:
243 cpu: 4
244 memory: 8Gi
245 requests:
246 cpu: 1
247 memory: 2Gi
248 unlimited: {}