620b4d70f954ddc32c2305305bfd22ab9249315c
[oom.git] / kubernetes / aai / components / aai-resources / values.yaml
1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Copyright (c) 2020 Nokia, Orange
3 # Modifications Copyright (c) 2021 Orange
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # Default values for resources.
18 # This is a YAML-formatted file.
19 # Declare variables to be passed into your templates.
20 global: # global defaults
21   nodePortPrefix: 302
22   cassandra:
23     #Service Name of the cassandra cluster to connect to.
24     #Override it to aai-cassandra if localCluster is enabled.
25     serviceName: cassandra
26
27   rproxy:
28     name: reverse-proxy
29
30   initContainers:
31     enabled: true
32
33   # Specifies a list of jobs to be run
34   jobs:
35     # When enabled, it will create the schema based on oxm and edge rules
36     createSchema:
37       enabled: true
38     #migration using helm hooks
39     migration:
40       enabled: false
41
42   config:
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     # Active spring profiles for the resources microservice
57     profiles:
58       active: production,dmaap,aaf-auth
59
60     # Notification event specific properties
61     notification:
62       eventType: AAI-EVENT
63       domain: dev
64
65     # Schema specific properties that include supported versions of api
66     schema:
67       # Specifies if the connection should be one way ssl, two way ssl or no auth
68       service:
69         client: one-way-ssl
70       # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
71       translator:
72         list: schema-service
73       source:
74         # Specifies which folder to take a look at
75         name: onap
76       uri:
77         # Base URI Path of the application
78         base:
79           path: /aai
80       version:
81         # Current version of the REST API
82         api:
83           default: v21
84         # Specifies which version the depth parameter is configurable
85         depth: v11
86         # List of all the supported versions of the API
87         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
88         # Specifies from which version related link should appear
89         related:
90           link: v11
91         # Specifies from which version the app root change happened
92         app:
93           root: v11
94         # Specifies from which version the xml namespace changed
95         namespace:
96           change: v12
97         # Specifies from which version the edge label appeared in API
98         edge:
99           label: v12
100
101     # Keystore configuration password and filename
102     keystore:
103       filename: aai_keystore
104       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
105
106     # Truststore configuration password and filename
107     truststore:
108       filename: aai_keystore
109       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
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 api_list:
121   - 11
122   - 12
123   - 13
124   - 14
125   - 15
126   - 16
127   - 17
128   - 18
129   - 19
130
131 aai_enpoints:
132   - name: aai-cloudInfrastructure
133     url: cloud-infrastructure
134   - name: aai-business
135     url: business
136   - name: aai-actions
137     url: actions
138   - name: aai-service-design-and-creation
139     url: service-design-and-creation
140   - name: aai-network
141     url: network
142   - name: aai-externalSystem
143     url: external-system
144
145 # application image
146 image: onap/aai-resources:1.7.2
147 pullPolicy: Always
148 restartPolicy: Always
149 flavor: small
150 flavorOverride: small
151 # default number of instances
152 replicaCount: 1
153
154 # Configuration for the resources deployment
155 config:
156   keycloak:
157     host: localhost
158     port: 8180
159
160   # Specifies crud related operation timeouts and overrides
161   crud:
162     timeout:
163       # Specifies if the timeout for REST GET calls should be enabled
164       enabled: true
165       # Specifies the timeout values for application specific
166       # Its a pipe seperated list where each element before comma represents
167       # the X-FromAppId and the comma after specifies the timeout limit in ms
168       # If the timeout limit is -1 then it means for these apps no timeout
169       appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
170       # Specifies what is the maximum timeout limit in milliseconds
171       limit: 100000
172
173   # Specifies configuration for bulk apis
174   bulk:
175     # Specifies for a bulk payload how many transactions in total allowed
176     limit: 30
177     # Specifies if the bulk can be override and if it can the value
178     override: false
179
180 nodeSelector: {}
181
182 affinity: {}
183
184 # probe configuration parameters
185 liveness:
186   initialDelaySeconds: 60
187   periodSeconds: 60
188   # necessary to disable liveness probe when setting breakpoints
189   # in debugger so K8s doesn't restart unresponsive container
190   enabled: false
191
192 readiness:
193   initialDelaySeconds: 60
194   periodSeconds: 10
195
196 # application configuration
197 sidecar:
198   keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
199   keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
200   trustStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
201
202 service:
203   type: ClusterIP
204   portName: aai-resources-8447
205   internalPort: 8447
206   portName2: aai-resources-5005
207   internalPort2: 5005
208
209 ingress:
210   enabled: false
211
212   # We usually recommend not to specify default resources and to leave this as a conscious
213   # choice for the user. This also increases chances charts run on environments with little
214   # resources, such as Minikube. If you do want to specify resources, uncomment the following
215   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
216   #
217   # Example:
218   # Configure resource requests and limits
219   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
220   # Minimum memory for development is 2 CPU cores and 4GB memory
221   # Minimum memory for production is 4 CPU cores and 8GB memory
222 #resources:
223 #  limits:
224 #    cpu: 2
225 #    memory: 4Gi
226 #  requests:
227 #    cpu: 2
228 #    memory: 4Gi
229 resources:
230   small:
231     limits:
232       cpu: 2
233       memory: 4Gi
234     requests:
235       cpu: 1
236       memory: 3Gi
237   large:
238     limits:
239       cpu: 4
240       memory: 8Gi
241     requests:
242       cpu: 2
243       memory: 4Gi
244   unlimited: {}