1 # Copyright (c) 2018 Amdocs, Bell Canada, AT&T
2 # Copyright (c) 2020 Nokia, Orange
3 # Modifications Copyright (c) 2021 Orange
4 # Modifications Copyright © 2023 Nordix Foundation
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # Default values for resources.
19 # This is a YAML-formatted file.
20 # Declare variables to be passed into your templates.
21 global: # global defaults
24 #Service Name of the cassandra cluster to connect to.
25 #Override it to aai-cassandra if localCluster is enabled.
26 serviceName: cassandra
28 # Specifies a list of jobs to be run
30 # When enabled, it will create the schema based on oxm and edge rules
33 #migration using helm hooks
38 # Specifies that the cluster connected to a dynamic
39 # cluster being spinned up by kubernetes deployment
44 # Specifies if the basic authorization is enabled
51 # Active spring profiles for the resources microservice
53 active: production,dmaap
55 # Notification event specific properties
60 # Schema specific properties that include supported versions of api
62 # Specifies if the connection should be one way ssl, two way ssl or no auth
65 # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service
69 # Specifies which folder to take a look at
72 # Base URI Path of the application
76 # Current version of the REST API
79 # Specifies which version the depth parameter is configurable
81 # List of all the supported versions of the API
82 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28
83 # Specifies from which version related link should appear
86 # Specifies from which version the app root change happened
89 # Specifies from which version the xml namespace changed
92 # Specifies from which version the edge label appeared in API
96 # Specifies which clients should always default to realtime graph connection
98 clients: SDNC,MSO,SO,robot-ete
112 - name: aai-cloudInfrastructure
113 url: cloud-infrastructure
118 - name: aai-service-design-and-creation
119 url: service-design-and-creation
122 - name: aai-externalSystem
126 image: onap/aai-resources:1.13.0
128 restartPolicy: Always
130 flavorOverride: small
131 # default number of instances
133 # the minimum number of seconds that a newly created Pod should be ready
137 # The number of pods that can be unavailable during the update process
139 # The number of pods that can be created above the desired amount of pods during an update
142 # Configuration for the resources deployment
144 # configure keycloak according to your environment.
145 # don't forget to add keycloak in active profiles above (global.config.profiles)
147 host: keycloak.your.domain
149 # Specifies a set of users, credentials, roles, and groups
151 # Used by any client application for enabling fine-grained authorization for their protected resources
152 resource: aai-resources-app
153 # If set to true, additional criteria will be added that match the data-owner property with the given role
154 # to the user in keycloak
159 # enable when running read-heavy workloads
160 # modifications to graph done by this service/janusgraph instance will immediately invalidate the cache
161 # modifications to graph done by other services (traversal) will only be visible
162 # after time specified in db-cache-time
164 # Documentation: https://docs.janusgraph.org/operations/cache/#database-level-caching
165 dbCacheTime: 180000 # in milliseconds
166 dbCacheSize: 0.1 # percentage (expressed as a decimal between 0 and 1) of the total heap space available to the JVM running
167 dbCacheCleanWait: 20 # in milliseconds
170 # Specifies crud related operation timeouts and overrides
173 # Specifies if the timeout for REST GET calls should be enabled
175 # Specifies the timeout values for application specific
176 # Its a pipe seperated list where each element before comma represents
177 # the X-FromAppId and the comma after specifies the timeout limit in ms
178 # If the timeout limit is -1 then it means for these apps no timeout
179 appspecific: JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1
180 # Specifies what is the maximum timeout limit in milliseconds
183 # Specifies configuration for bulk apis
185 # Specifies for a bulk payload how many transactions in total allowed
187 # Specifies if the bulk can be override and if it can the value
190 # environment variables added to the launch of the image in deployment
192 MIN_HEAP_SIZE: "512m"
193 MAX_HEAP_SIZE: "1024m"
194 MAX_METASPACE_SIZE: "512m"
196 # adds jvm args for remote debugging the application
199 args: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
201 # adds jvm args for remote profiling the application
203 # $ PODNAME=traversal
204 # $ kubectl -n ${NAMESPACE:=onap} port-forward pod/$(kubectl -n ${NAMESPACE:=onap}
205 # get pods | awk '{print $1}' | grep -m1 -e "$PODNAME") 9999:9999
209 - "-Dcom.sun.management.jmxremote"
210 - "-Dcom.sun.management.jmxremote.ssl=false"
211 - "-Dcom.sun.management.jmxremote.authenticate=false"
212 - "-Dcom.sun.management.jmxremote.local.only=false"
213 - "-Dcom.sun.management.jmxremote.port=9999"
214 - "-Dcom.sun.management.jmxremote.rmi.port=9999"
215 - "-Djava.rmi.server.hostname=127.0.0.1"
221 # probe configuration parameters
223 initialDelaySeconds: 60
225 # necessary to disable liveness probe when setting breakpoints
226 # in debugger so K8s doesn't restart unresponsive container
230 initialDelaySeconds: 60
239 portName3: http-resources
241 terminationGracePeriodSeconds: 120
242 sessionAffinity: None
249 authorizedPrincipals:
250 - serviceAccount: aai-read
251 - serviceAccount: consul-read
253 # We usually recommend not to specify default resources and to leave this as a conscious
254 # choice for the user. This also increases chances charts run on environments with little
255 # resources, such as Minikube. If you do want to specify resources, uncomment the following
256 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
259 # Configure resource requests and limits
260 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
261 # Minimum memory for development is 2 CPU cores and 4GB memory
262 # Minimum memory for production is 4 CPU cores and 8GB memory
289 baseUrl: http://jaeger-collector.istio-system:9411
291 probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
306 path: /actuator/prometheus
309 externalSecretName: mysecretname
310 externalSecretUserKey: login
311 externalSecretPasswordKey: password
313 ## Namespace in which Prometheus is running
315 # namespace: monitoring
317 ## Interval at which metrics should be scraped.
318 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
322 ## Timeout after which the scrape is ended
323 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
327 ## ServiceMonitor selector labels
328 ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
331 app: '{{ include "common.name" . }}'
332 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
333 release: '{{ include "common.release" . }}'
334 heritage: '{{ .Release.Service }}'
336 ## RelabelConfigs to apply to samples before scraping
337 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
338 ## Value is evalued as a template
342 ## MetricRelabelConfigs to apply to samples before ingestion
343 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
344 ## Value is evalued as a template
346 metricRelabelings: []
349 # targetLabel: "__name__"
352 # replacement: 'example_prefix_$1'
354 #Pods Service Account
356 nameOverride: aai-resources
365 base: DEBUG # base package (org.onap.aai)
366 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
368 # To make logback capping values configurable
370 logToFileEnabled: false
376 livenessAccessLogEnabled: false # false: do not log kubernetes liveness probes
377 logToFileEnabled: false