# Global configuration defaults.
#################################################################
global:
+ mariadbGalera: &mariadbGalera
+ # flag to enable the DB creation via mariadb-operator
+ useOperator: true
+ #This flag allows NBI to instantiate its own mariadb-galera cluster
+ #When changing it to "true", also set "globalCluster: false"
+ #as the dependency check will not work otherwise (Chart.yaml)
+ localCluster: true
+ globalCluster: false
+ service: mariadb-galera
+ internalPort: 3306
+ nameOverride: mariadb-galera
# image pull policy
pullPolicy: Always
persistence:
resources:
small:
limits:
- cpu: 1
- memory: 1.8Gi
+ cpu: "1"
+ memory: "1.8Gi"
requests:
- cpu: 0.5
- memory: 1.8Gi
+ cpu: "0.5"
+ memory: "1.8Gi"
large:
limits:
- cpu: 2
- memory: 3.6Gi
+ cpu: "2"
+ memory: "3.6Gi"
requests:
- cpu: 1
- memory: 3.6Gi
+ cpu: "1"
+ memory: "3.6Gi"
unlimited: {}
readinessCheck:
wait_for:
- apps:
- - cds-db
+ services:
+ - '{{ .Values.global.mariadbGalera.service }}'
#Pods Service Account
serviceAccount: