blob: 2685d9a3f534eee4574b7a7655f8a8cbb680e9c2 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright (c) 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux5b651322020-12-07 15:34:15 +01002# Copyright (c) 2020 Nokia, Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01003#
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 resources.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010021 cassandra:
22 #Service Name of the cassandra cluster to connect to.
23 #Override it to aai-cassandra if localCluster is enabled.
24 serviceName: cassandra
25
26 rproxy:
27 name: reverse-proxy
28
29 initContainers:
30 enabled: true
31
32 # Specifies a list of jobs to be run
33 jobs:
34 # When enabled, it will create the schema based on oxm and edge rules
35 createSchema:
36 enabled: true
37 #migration using helm hooks
38 migration:
39 enabled: false
40
41 config:
42 # Specifies that the cluster connected to a dynamic
43 # cluster being spinned up by kubernetes deployment
44 cluster:
45 cassandra:
46 dynamic: true
47
48 # Specifies if the basic authorization is enabled
49 basic:
50 auth:
51 enabled: true
52 username: AAI
53 passwd: AAI
54
55 # Active spring profiles for the resources microservice
56 profiles:
57 active: production,dmaap,aaf-auth
58
59 # Notification event specific properties
60 notification:
61 eventType: AAI-EVENT
62 domain: dev
63
64 # Schema specific properties that include supported versions of api
65 schema:
66 # Specifies if the connection should be one way ssl, two way ssl or no auth
67 service:
68 client: one-way-ssl
69 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
70 translator:
71 list: schema-service
72 source:
73 # Specifies which folder to take a look at
74 name: onap
75 uri:
76 # Base URI Path of the application
77 base:
78 path: /aai
79 version:
80 # Current version of the REST API
81 api:
82 default: v21
83 # Specifies which version the depth parameter is configurable
84 depth: v11
85 # List of all the supported versions of the API
86 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21
87 # Specifies from which version related link should appear
88 related:
89 link: v11
90 # Specifies from which version the app root change happened
91 app:
92 root: v11
93 # Specifies from which version the xml namespace changed
94 namespace:
95 change: v12
96 # Specifies from which version the edge label appeared in API
97 edge:
98 label: v12
99
100 # Keystore configuration password and filename
101 keystore:
102 filename: aai_keystore
103 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
104
105 # Truststore configuration password and filename
106 truststore:
107 filename: aai_keystore
108 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
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# application image
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100120image: onap/aai-resources:1.7.2
121pullPolicy: Always
122restartPolicy: Always
123flavor: small
124flavorOverride: small
125# default number of instances
126replicaCount: 1
127
128# Configuration for the resources deployment
129config:
130 keycloak:
131 host: localhost
132 port: 8180
133
134 # Specifies crud related operation timeouts and overrides
135 crud:
136 timeout:
137 # Specifies if the timeout for REST GET calls should be enabled
138 enabled: true
139 # Specifies the timeout values for application specific
140 # Its a pipe seperated list where each element before comma represents
141 # the X-FromAppId and the comma after specifies the timeout limit in ms
142 # If the timeout limit is -1 then it means for these apps no timeout
143 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
144 # Specifies what is the maximum timeout limit in milliseconds
145 limit: 100000
146
147 # Specifies configuration for bulk apis
148 bulk:
149 # Specifies for a bulk payload how many transactions in total allowed
150 limit: 30
151 # Specifies if the bulk can be override and if it can the value
152 override: false
153
154nodeSelector: {}
155
156affinity: {}
157
158# probe configuration parameters
159liveness:
160 initialDelaySeconds: 60
161 periodSeconds: 60
162 # necessary to disable liveness probe when setting breakpoints
163 # in debugger so K8s doesn't restart unresponsive container
164 enabled: false
165
166readiness:
167 initialDelaySeconds: 60
168 periodSeconds: 10
169
170# application configuration
171sidecar:
172 keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
173 keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
174 trustStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
175
176service:
177 type: ClusterIP
178 portName: aai-resources-8447
179 internalPort: 8447
180 portName2: aai-resources-5005
181 internalPort2: 5005
182
183ingress:
184 enabled: false
185
186 # We usually recommend not to specify default resources and to leave this as a conscious
187 # choice for the user. This also increases chances charts run on environments with little
188 # resources, such as Minikube. If you do want to specify resources, uncomment the following
189 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
190 #
191 # Example:
192 # Configure resource requests and limits
193 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
194 # Minimum memory for development is 2 CPU cores and 4GB memory
195 # Minimum memory for production is 4 CPU cores and 8GB memory
196#resources:
197# limits:
198# cpu: 2
199# memory: 4Gi
200# requests:
201# cpu: 2
202# memory: 4Gi
203resources:
204 small:
205 limits:
206 cpu: 2
207 memory: 4Gi
208 requests:
209 cpu: 1
210 memory: 3Gi
211 large:
212 limits:
213 cpu: 4
214 memory: 8Gi
215 requests:
216 cpu: 2
217 memory: 4Gi
218 unlimited: {}