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