[AAI] Remove AAF/TLS config from charts
[oom.git] / kubernetes / aai / values.yaml
1 # Copyright (c) 2017 Amdocs, Bell Canada
2 # Modifications Copyright (c) 2018 AT&T
3 # Modifications Copyright (c) 2020 Nokia, Orange
4 # Modifications Copyright (c) 2021 Orange
5 # Modifications Copyright © 2023 Nordix Foundation
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #       http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19 # Default values for aai.
20 # This is a YAML-formatted file.
21 # Declare variables to be passed into your templates.
22 global: # global defaults
23   nodePortPrefix: 302
24   repository: nexus3.onap.org:10001
25   dockerhubRepository: docker.io
26   busyboxImage: busybox
27
28   readinessImage: onap/oom/readiness:3.0.1
29
30   loggingRepository: docker.elastic.co
31   loggingImage: beats/filebeat:5.5.0
32
33   restartPolicy: Always
34
35   aafEnabled: false
36   msbEnabled: false
37   centralizedLoggingEnabled: false
38
39   cassandra:
40     #This will instantiate AAI cassandra cluster, default:shared cassandra.
41     localCluster: false
42
43     #Service Name of the cassandra cluster to connect to.
44     #Override it to aai-cassandra if localCluster is enabled.
45     serviceName: cassandra
46
47     #This should be same as shared cassandra instance or if localCluster is enabled
48     #then it should be same as aai-cassandra replicaCount
49     replicas: 3
50
51     #Cassanara login details
52     username: cassandra
53     password: cassandra
54
55   aai:
56     serviceName: aai
57   babel:
58     serviceName: aai-babel
59   aaiElasticsearch:
60     serviceName: aai-elasticsearch
61   resources:
62     serviceName: aai-resources
63   sparkyBe:
64     serviceName: aai-sparky-be
65   modelloader:
66     serviceName: aai-modelloader
67   searchData:
68     serviceName: aai-search-data
69   traversal:
70     serviceName: aai-traversal
71   graphadmin:
72     serviceName: aai-graphadmin
73
74   initContainers:
75     enabled: true
76   # Specifies a list of jobs to be run
77   jobs:
78     # When enabled, it will create the schema based on oxm and edge rules
79     createSchema:
80       enabled: true
81     # When enabled, it will create the widget models via REST API to haproxy
82     updateQueryData:
83       enabled: true
84     #migration using helm hooks
85     migration:
86       enabled: false
87       remoteCassandra:
88         enabled: false
89         storage:
90           backend: cassandra
91           hostname: 10.10.10.10
92           connectionTimeout: 100000
93           cacheSize: 1000000
94           keyConsistent: true
95
96           #If backend is cql or cassandra it should be keyspace name
97           #else backend is hbase it should be hbase table name
98           name: aaigraph
99
100        ## CQL driver specific properties for janusgraph
101        #  cql:
102        #    #Name of the Cassandra Cluster
103        #    cluster: someclustername
104        #    readConsistency: QUORUM
105        #    writeConsistency: QUORUM
106        #    replicationFactor: 3
107        #    localConsistencyForSysOps: true
108
109        ## Cassandra driver specific properties for janusgraph
110           cassandra:
111             #Name of the Cassandra Cluster
112             clusterName: aai-cluster
113             localDataCenter: Pod lab
114             readConsistency: LOCAL_QUORUM
115             writeConsistency: LOCAL_QUORUM
116             replicationFactor: 3
117
118         #storage:
119         #  backend: cassandra
120         #  hostname: somehost1,somehost2,somehost3
121         #  connectionTimeout: 100000
122         #  cacheSize: 1000000
123         #  clusterName: someClusterName
124         #  localDataCenter: someDataCenter
125         #  keyConsistent: true
126         #  #If backend is cql or cassandra it should be keyspace name
127         #  #else backend is hbase it should be hbase table name
128         #  name: your_hbase_table_or_keyspace_name
129
130         ## CQL driver specific properties for janusgraph
131         #  cql:
132         #    #Name of the Cassandra Cluster
133         #    cluster: someclustername
134         #    readConsistency: QUORUM
135         #    writeConsistency: QUORUM
136         #    replicationFactor: 3
137         #    localConsistencyForSysOps: true
138
139         ## Cassandra driver specific properties for janusgraph
140         #  cassandra:
141         #    #Name of the Cassandra Cluster
142         #    cluster: someclustername
143         #    readConsistency: LOCAL_QUORUM
144         #    writeConsistency: LOCAL_QUORUM
145         #    replicationFactor: 3
146
147
148   # Common configuration for resources traversal and graphadmin
149   config:
150     # User information for the admin user in container
151     userId: 1000
152     groupId: 1000
153
154     # Specifies that the cluster connected to a dynamic
155     # cluster being spinned up by kubernetes deployment
156     cluster:
157       cassandra:
158         dynamic: true
159
160     # If cluster.cassandra.dynamic is set to false
161     # Then the following configuration should be uncommented
162     # This is if you are planning to connect to a existing
163     # Cassandra cluster instead of doing the deployment
164     #storage:
165     #  backend: cassandra
166     #  hostname: somehost1,somehost2,somehost3
167     #  connectionTimeout: 100000
168     #  cacheSize: 1000000
169     #  clusterName: someClusterName
170     #  localDataCenter: someDataCenter
171     #  keyConsistent: true
172     #  # If backend is cql or cassandra it should be keyspace name
173     #  # else backend is hbase it should be hbase table name
174     #  name: your_hbase_table_or_keyspace_name
175
176     #  # CQL driver specific properties for janusgraph
177     #  cql:
178     #    # Name of the Cassandra Cluster
179     #    cluster: someclustername
180     #    readConsistency: QUORUM
181     #    writeConsistency: QUORUM
182     #    replicationFactor: 3
183     #    localConsistencyForSysOps: true
184
185     #  # Cassandra driver specific properties for janusgraph
186     #  cassandra:
187     #    # Name of the Cassandra Cluster
188     #    cluster: someclustername
189     #    readConsistency: LOCAL_QUORUM
190     #    writeConsistency: LOCAL_QUORUM
191     #    replicationFactor: 3
192
193     # Specifies if the basic authorization is enabled
194     basic:
195       auth:
196         enabled: true
197         username: AAI
198         passwd: AAI
199
200     # Active spring profiles for the resources microservice
201     # aaf-auth profile will be automatically set if aaf enabled is set to true
202     profiles:
203       active: production,dmaap #,aaf-auth
204
205     # Notification event specific properties
206     notification:
207       eventType: AAI-EVENT
208       domain: dev
209
210     # Schema specific properties that include supported versions of api
211     schema:
212       # Specifies if the connection should be one way ssl, two way ssl or no auth
213       # will be set to no-auth if tls is disabled
214       service:
215         client: no-auth
216       # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
217       translator:
218         list: schema-service
219       source:
220         # Specifies which folder to take a look at
221         name: onap
222       uri:
223         # Base URI Path of the application
224         base:
225           path: /aai
226       version:
227         # Current version of the REST API
228         api:
229           default: v27
230         # Specifies which version the depth parameter is configurable
231         depth: v11
232         # List of all the supported versions of the API
233         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
234         # Specifies from which version related link should appear
235         related:
236           link: v11
237         # Specifies from which version the app root change happened
238         app:
239           root: v11
240         # Specifies from which version the xml namespace changed
241         namespace:
242           change: v12
243         # Specifies from which version the edge label appeared in API
244         edge:
245           label: v12
246
247     # Keystore configuration password and filename
248     keystore:
249       filename: aai_keystore
250       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit
251
252     # Truststore configuration password and filename
253     truststore:
254       filename: aai_keystore
255       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 # changeit
256
257     # Specifies a list of files to be included in auth volume
258     auth:
259       files:
260         - aai_keystore
261
262     # Specifies which clients should always default to realtime graph connection
263     realtime:
264       clients: SDNC,MSO,SO,robot-ete
265
266     # Logback debug enabled
267     logback:
268       console:
269         # If enabled, container will print all logback to standard output
270         # This will make debugging much easier but it should only be done
271         # when debugging the issue and changed back as it can affect performance
272         # since when this is enabled, it prints a lot of information to console
273         enabled: false
274
275 aai-babel:
276   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
277 aai-graphadmin:
278   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
279 aai-modelloader:
280   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
281 aai-resources:
282   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
283 aai-schema-service:
284   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
285 aai-sparky-be:
286   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
287 aai-traversal:
288   logConfigMapNamePrefix: '{{ include "common.release" . }}-aai'
289
290 # application image
291 dockerhubRepository: registry.hub.docker.com
292 image: onap/aai-haproxy:1.11.0
293 pullPolicy: Always
294
295 flavor: small
296 flavorOverride: small
297
298 # flag to enable debugging - application support required
299 debugEnabled: false
300
301 # application configuration
302 config:
303   logstashServiceName: log-ls
304   logstashPort: 5044
305
306 # default number of instances
307 replicaCount: 1
308
309 updateStrategy:
310   type: RollingUpdate
311   maxUnavailable: 0
312   maxSurge: 1
313
314 nodeSelector: {}
315
316 affinity: {}
317
318 # HAProxy configuration to block HTTP requests to AAI based on configurable URL patterns
319 haproxy:
320   initContainers:
321     resources:
322       memory: 100Mi
323       cpu: 50m
324   requestBlocking:
325     enabled: false
326     customConfigs: []
327   replicas:
328     aaiResources: 1
329     aaiTraversal: 1
330
331 # probe configuration parameters
332 liveness:
333   initialDelaySeconds: 10
334   periodSeconds: 10
335   # necessary to disable liveness probe when setting breakpoints
336   # in debugger so K8s doesn't restart unresponsive container
337   enabled: true
338
339 #This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use.
340 #Below command will instantiate the aai cassandra instances:
341 #helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \
342 #                            --set aai.global.cassandra.localCluster=true \
343 #                            --set aai.global.cassandra.serviceName=aai-cassandra
344 cassandra:
345   nameOverride: aai-cassandra
346   serviceAccount:
347     nameOverride: aai-cassandra
348   replicaCount: 3
349   service:
350     name: aai-cassandra
351   persistence:
352     mountSubPath: aai/cassandra
353     enabled: true
354
355 readiness:
356   initialDelaySeconds: 10
357   periodSeconds: 10
358
359 service:
360   type: NodePort
361   portName: http
362   externalPort: 8443
363   internalPort: 8443
364   nodePort: 33
365   externalPlainPort: 80
366   internalPlainPort: 8080
367   nodeport: 33
368   aaiServiceClusterIp:
369   sessionAffinity: None
370
371 metricsService:
372   type: ClusterIP
373   portName: prometheus
374   externalPort: 8448
375   internalPort: 8448
376
377 metrics:
378   serviceMonitor:
379     enabled: false
380     targetPort: 8448
381     path: /metrics
382     basicAuth:
383       enabled: false
384
385     selector:
386       app: '{{ include "common.name" . }}-metrics'
387       chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
388       release: '{{ include "common.release" . }}'
389       heritage: '{{ .Release.Service }}'
390
391     relabelings: []
392
393     metricRelabelings: []
394
395 ingress:
396   enabled: false
397   service:
398     - baseaddr: "aai-api"
399       name: "aai"
400       port: 8443
401       plain_port: 80
402       config:
403        ssl: "redirect"
404
405 resources:
406   small:
407     limits:
408       cpu: 2
409       memory: 4Gi
410     requests:
411       cpu: 1
412       memory: 1Gi
413   large:
414     limits:
415       cpu: 4
416       memory: 8Gi
417     requests:
418       cpu: 2
419       memory: 2Gi
420   unlimited: {}
421
422 #Pods Service Account
423 serviceAccount:
424   nameOverride: aai
425   roles:
426     - read