summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-03-31 12:07:23 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-04-07 11:04:23 +0000
commitf51bbef3978f1176551d6891c7e583d128a0875a (patch)
tree3d0748e1b5f7090dc92108d85b2f4f587d7bb642 /kubernetes/contrib/components
parentbb32bf993ac2b74c12fc435e756d9ce98bb73611 (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/contrib/components')
-rw-r--r--kubernetes/contrib/components/ejbca/Chart.yaml2
-rw-r--r--kubernetes/contrib/components/ejbca/values.yaml5
2 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/contrib/components/ejbca/Chart.yaml b/kubernetes/contrib/components/ejbca/Chart.yaml
index e8a0134298..5c7ec253ed 100644
--- a/kubernetes/contrib/components/ejbca/Chart.yaml
+++ b/kubernetes/contrib/components/ejbca/Chart.yaml
@@ -30,7 +30,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/contrib/components/ejbca/values.yaml b/kubernetes/contrib/components/ejbca/values.yaml
index b777a7d388..c223f41f79 100644
--- a/kubernetes/contrib/components/ejbca/values.yaml
+++ b/kubernetes/contrib/components/ejbca/values.yaml
@@ -13,8 +13,11 @@
# limitations under the License.
global:
mariadbGalera: &mariadbGalera
- #This flag allows EJBCA to instantiate its own mariadb-galera cluster
+ #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