Merge "[AAI] Uses new tpls for repos / images"
[oom.git] / kubernetes / aai / components / aai-traversal / values.yaml
1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright (c) 2020 Nokia
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 traversal.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   aafEnabled: true
22
23   cassandra:
24     #Service Name of the cassandra cluster to connect to.
25     #Override it to aai-cassandra if localCluster is enabled.
26     serviceName: cassandra
27
28   initContainers:
29     enabled: true
30   # Specifies a list of jobs to be run
31   jobs:
32     # When enabled, it will create the schema based on oxm and edge rules
33     createSchema:
34       enabled: true
35     # When enabled, it will create the widget models via REST API to haproxy
36     updateQueryData:
37       enabled: true
38     #migration using helm hooks
39     migration:
40       enabled: false
41
42   # Common configuration for resources traversal and graphadmin
43   config:
44     # User information for the admin user in container
45     userId: 1000
46     groupId: 1000
47
48     # Specifies that the cluster connected to a dynamic
49     # cluster being spinned up by kubernetes deployment
50     cluster:
51       cassandra:
52         dynamic: true
53
54     # Specifies if the basic authorization is enabled
55     basic:
56       auth:
57         enabled: true
58         username: AAI
59         passwd: AAI
60
61     # Active spring profiles for the resources microservice
62     profiles:
63       active: production,dmaap,aaf-auth
64
65     # Notification event specific properties
66     notification:
67       eventType: AAI-EVENT
68       domain: dev
69
70     # Schema specific properties that include supported versions of api
71     schema:
72       # Specifies if the connection should be one way ssl, two way ssl or no auth
73       service:
74         client: one-way-ssl
75       # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
76       translator:
77         list: schema-service
78       source:
79         # Specifies which folder to take a look at
80         name: onap
81       uri:
82         # Base URI Path of the application
83         base:
84           path: /aai
85       version:
86         # Current version of the REST API
87         api:
88           default: v21
89         # Specifies which version the depth parameter is configurable
90         depth: v11
91         # List of all the supported versions of the API
92         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
93         # Specifies from which version related link should appear
94         related:
95           link: v11
96         # Specifies from which version the app root change happened
97         app:
98           root: v11
99         # Specifies from which version the xml namespace changed
100         namespace:
101           change: v12
102         # Specifies from which version the edge label appeared in API
103         edge:
104           label: v12
105
106     # Keystore configuration password and filename
107     keystore:
108       filename: aai_keystore
109       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
110
111     # Truststore configuration password and filename
112     truststore:
113       filename: aai_keystore
114       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
115
116     # Specifies a list of files to be included in auth volume
117     auth:
118       files:
119         - aai_keystore
120
121     # Specifies which clients should always default to realtime graph connection
122     realtime:
123       clients: SDNC,MSO,SO,robot-ete
124
125
126 # application image
127 image: onap/aai-traversal:1.7.2
128 pullPolicy: Always
129 restartPolicy: Always
130 flavor: small
131 flavorOverride: small
132 # application configuration
133 config:
134
135   # Specifies timeout information such as application specific and limits
136   timeout:
137     # If set to true application will timeout for queries taking longer than limit
138     enabled: true
139     # Specifies which apps (X-FromAppId) header should get overridden and (-1) no timeout
140     appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAI-FILEGEN-GFPIP,-1
141     # Specifies how long should it wait before timing out the REST request
142     limit: 180000
143
144   # Disables the updateQueryData script to run as part of traversal
145   disableUpdateQuery: true
146
147   # Override of the DSL Timeout Limit
148   dslOverride: 'ZV4V7E3N77SKIB6MR9MHQ6M4P6Q99Z7M76RBODA'
149
150   dsl:
151     # Dsl timeout configuration
152     timeout:
153       # Whether or not the dsl is enabled
154       enabled: true
155       # Default time limit of the DSL query
156       limit: 150000
157       # App Specific Timeout Limit for each of the X-FromAppId
158       appspecific:
159         - JUNITTESTAPP1,1
160         - JUNITTESTAPP2,-1
161         - AAI-TOOLS,-1
162         - DCAE-CCS,1200000
163         - DCAES,1200000
164         - VPESAT,-1
165         - AAI-CACHER,-1
166         - VidAaiController,300000
167         - AAI-UI,180000
168
169 persistence:
170   mountPath: /dockerdata-nfs
171   mountSubPath: aai/aai-traversal
172
173 # default number of instances
174 replicaCount: 1
175
176 nodeSelector: {}
177
178 affinity: {}
179
180 # probe configuration parameters
181 liveness:
182   initialDelaySeconds: 60
183   periodSeconds: 60
184   # necessary to disable liveness probe when setting breakpoints
185   # in debugger so K8s doesn't restart unresponsive container
186   enabled: false
187
188 readiness:
189   initialDelaySeconds: 10
190   periodSeconds: 10
191
192 service:
193   type: ClusterIP
194   portName: aai-traversal-8446
195   internalPort: 8446
196   portName2: aai-traversal-5005
197   internalPort2: 5005
198
199 ingress:
200   enabled: false
201
202 # Configure resource requests and limits
203 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
204 resources:
205   small:
206     limits:
207       cpu: 2
208       memory: 4Gi
209     requests:
210       cpu: 1
211       memory: 3Gi
212   large:
213     limits:
214       cpu: 4
215       memory: 8Gi
216     requests:
217       cpu: 2
218       memory: 4Gi
219   unlimited: {}