1 # Copyright © 2020 Samsung Electronics
2 # Copyright © 2019 Orange, Bell Canada
3 # Copyright © 2017 Amdocs, Bell Canada
4 # Modification Copyright © 2022-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 #################################################################
19 # Global configuration defaults.
20 #################################################################
23 nodePortPrefixExt: 304
25 mountPath: /dockerdata-nfs
26 mariadbGalera: &mariadbGalera
27 # flag to enable the DB creation via mariadb-operator
29 #This flag allows NBI to instantiate its own mariadb-galera cluster
30 #When changing it to "true", also set "globalCluster: false"
31 #as the dependency check will not work otherwise (Chart.yaml)
34 service: mariadb-galera
36 nameOverride: mariadb-galera
37 # (optional) if localCluster=false and an external secret is used set this variable
38 #userRootSecret: <secretName>
41 #################################################################
43 #################################################################
45 - name: &dbUserSecretName '{{ include "common.release" . }}-cds-db-secret'
48 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) (hasSuffix "cds-db-secret" (index .Values "mariadb-galera" "db" "externalSecret"))}}'
49 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
50 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
61 # flag to enable debugging - application support required
64 # default number of instances
71 # probe configuration parameters
73 initialDelaySeconds: 20
76 # necessary to disable liveness probe when setting breakpoints
77 # in debugger so K8s doesn't restart unresponsive container
81 initialDelaySeconds: 10
91 externalSecret: *dbUserSecretName
92 name: &mysqlDbName sdnctl
93 nameOverride: &dbServer cds-db
100 mountSubPath: cds/data
102 nameOverride: *dbServer
104 cds-blueprints-processor:
111 dbCredsExternalSecret: *dbUserSecretName
113 cds-command-executor:
125 #Resource Limit flavor -By Default using small
127 #segregation for different environment (Small and Large)