2 # ============LICENSE_START=======================================================
4 # ================================================================================
5 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6 # Copyright (c) 2020 Nokia Intellectual Property. All rights reserved.
7 # Copyright (c) 2020-2021 Orange Intellectual Property. All rights reserved.
8 # Modifications Copyright © 2023 Nordix Foundation
9 # ================================================================================
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
14 # http://www.apache.org/licenses/LICENSE-2.0
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
21 # ============LICENSE_END=========================================================
23 # Default values for resources.
24 # This is a YAML-formatted file.
25 # Declare variables to be passed into your templates.
26 global: # global defaults
28 kafkaBootstrap: strimzi-kafka-bootstrap
29 aaiGraphKafkaUser: aai-graph-kafka-user
31 #This will instantiate AAI cassandra cluster, default:shared cassandra.
33 # flag to enable the DB creation via k8ssandra-operator
38 # When enabled, it will create the schema based on oxm and edge rules
41 #migration using helm hooks
46 # Specifies that the cluster connected to a dynamic
47 # cluster being spinned up by kubernetes deployment
52 # Specifies if the basic authorization is enabled
59 # Notification event specific properties
64 # Schema specific properties that include supported versions of api
66 # Specifies if the connection should be one way ssl, two way ssl or no auth
67 # will be set to no-auth if tls is disabled
70 # Specifies which translator to use if it has schema-service, then it will
71 # make a rest request to schema service
75 # Specifies which folder to take a look at
78 # Base URI Path of the application
82 # Current version of the REST API
85 # Specifies which version the depth parameter is configurable
87 # List of all the supported versions of the API
88 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28
89 # Specifies from which version related link should appear
92 # Specifies from which version the app root change happened
95 # Specifies from which version the xml namespace changed
98 # Specifies from which version the edge label appeared in API
102 # Specifies which clients should always default to realtime graph connection
104 clients: SDNC,-1|MSO,-1|SO,-1|robot-ete,-1
107 image: onap/aai-graphadmin:1.12.3
109 restartPolicy: Always
111 flavorOverride: small
112 # default number of instances
114 # the minimum number of seconds that a newly created Pod should be ready
118 # The number of pods that can be unavailable during the update process
120 # The number of pods that can be created above the desired amount of pods during an update
123 # Configuration for the graphadmin deployment
126 # Specify the profiles for the graphadmin microservice
129 kafkaBootstrap: strimzi-kafka-bootstrap
130 jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.aaiGraphKafkaUser }}'
131 someConfig: graphrandom
133 # Specifies the timeout limit for the REST API requests
138 # Default maximum records to fix for the data grooming and dupeTool
143 # Default number of sleep minutes for dataGrooming and dupeTool
148 # Cron specific attributes to be triggered for the graphadmin spring cron tasks
150 # Specifies that the data grooming tool which runs duplicates should be enabled
153 # Specifies that the data snapshot which takes a graphson snapshot should be enabled
156 params: JUST_TAKE_SNAPSHOT
158 # Data cleanup which zips snapshots older than x days and deletes older than y days
163 # Zips up the dataGrooming files older than 5 days
165 # Deletes the dataGrooming files older than 30 days
170 # Zips up the dataSnapshot graphson files older than 5 days
172 # Deletes the dataSnapshot graphson files older than 30 days
174 # Concurrency lock control flag
185 # probe configuration parameters
187 initialDelaySeconds: 60
189 # necessary to disable liveness probe when setting breakpoints
190 # in debugger so K8s doesn't restart unresponsive container
194 initialDelaySeconds: 60
199 # REST API port for the graphadmin microservice
204 portName3: http-graphadmin
206 terminationGracePeriodSeconds: 120
211 # No inbound communications.
214 authorizedPrincipals: []
218 ## A manually managed Persistent Volume and Claim
219 ## Requires persistence.enabled: true
220 ## If defined, PVC must be created manually before volume will be bound
222 volumeReclaimPolicy: Retain
223 ## database data Persistent Volume Storage Class
224 ## If defined, storageClassName: <storageClass>
225 ## If set to "-", storageClassName: "", which disables dynamic provisioning
226 ## If undefined (the default) or set to null, no storageClassName spec is
227 ## set, choosing the default provisioner. (gp2 on AWS, standard on
228 ## GKE, AWS & OpenStack)
231 accessMode: ReadWriteMany
234 mountPath: /dockerdata-nfs
235 mountSubPath: aai/aai-graphadmin
236 mountSubPath1: aai/migration
238 # To make logback capping values configurable
240 logToFileEnabled: false
246 logToFileEnabled: false
271 path: /actuator/prometheus
276 app: '{{ include "common.name" . }}'
277 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
278 release: '{{ include "common.release" . }}'
279 heritage: '{{ .Release.Service }}'
283 metricRelabelings: []
285 # Not fully used for now
290 #Pods Service Account
292 nameOverride: aai-graphadmin
301 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
302 #################################################################
304 #################################################################
306 - uid: aai-graph-kafka-user
307 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
310 - name: sasl.jaas.config
311 value: '{{ .Values.config.someConfig }}'
314 authenticationType: scram-sha-512
318 operations: [Read, Write]