diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-31 12:07:23 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-04-07 11:04:23 +0000 |
commit | f51bbef3978f1176551d6891c7e583d128a0875a (patch) | |
tree | 3d0748e1b5f7090dc92108d85b2f4f587d7bb642 /kubernetes/nbi | |
parent | bb32bf993ac2b74c12fc435e756d9ce98bb73611 (diff) |
[COMMON][OTHERS] Fix dependency conditions
In case of local DB the "init" dependency is activated
as the "not" condition is not working
Issue-ID: OOM-3152
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I27dba69a644bbcc2b61245c22784976ba7c66173
Diffstat (limited to 'kubernetes/nbi')
-rw-r--r-- | kubernetes/nbi/Chart.yaml | 2 | ||||
-rw-r--r-- | kubernetes/nbi/values.yaml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/nbi/Chart.yaml b/kubernetes/nbi/Chart.yaml index 5f277876a3..5365075b32 100644 --- a/kubernetes/nbi/Chart.yaml +++ b/kubernetes/nbi/Chart.yaml @@ -36,7 +36,7 @@ dependencies: - name: mariadb-init version: ~12.x-0 repository: '@local' - condition: not global.mariadbGalera.localCluster + condition: global.mariadbGalera.globalCluster - name: repositoryGenerator version: ~12.x-0 repository: '@local' diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index e2b7341b7c..fbdf1fe199 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -20,7 +20,10 @@ global: nodePortPrefix: 302 mariadbGalera: &mariadbGalera #This flag allows SO 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: false + globalCluster: true service: mariadb-galera internalPort: 3306 nameOverride: mariadb-galera |