From 3a71d9d0c7e2d23bc20fe278b361149f09bf0514 Mon Sep 17 00:00:00 2001 From: Ranjith M P <92041707+r1jt@users.noreply.github.com> Date: Tue, 15 Oct 2024 18:38:39 +0530 Subject: [PATCH] fix: add config to disable local engines This change will add a configuration variable to disable installation of local engines lvm and zfs during umbrella chart based installation Signed-off-by: Ranjith M P <92041707+r1jt@users.noreply.github.com> --- common/e2e_config/e2e_config.go | 1 + configurations/product/mayastor_config.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/common/e2e_config/e2e_config.go b/common/e2e_config/e2e_config.go index a1eaaae5..df469f32 100644 --- a/common/e2e_config/e2e_config.go +++ b/common/e2e_config/e2e_config.go @@ -138,6 +138,7 @@ type ProductSpec struct { LvmEnginePluginDriverName string `yaml:"lvmEnginePluginDriverName"` UmbrellaOpenebsHelmChartName string `yaml:"umbrellaOpenebsHelmChartName"` UseUmbrellaOpenEBSChart bool `yaml:"useUmbrellaOpenEBSChart" env:"e2e_use_umbrella_openebs_chart" env-default:"false"` + DisableLocalEngines []string `yaml:"disableLocalEngines"` PrometheusNodeExporterServicePort int `yaml:"prometheusNodeExporterServicePort" env-default:"10100"` ZfsEnginePluginContainerName string `yaml:"zfsEnginePluginContainerName"` ZfsEnginePluginDriverName string `yaml:"zfsEnginePluginDriverName"` diff --git a/configurations/product/mayastor_config.yaml b/configurations/product/mayastor_config.yaml index 01a5a3d3..c576226f 100644 --- a/configurations/product/mayastor_config.yaml +++ b/configurations/product/mayastor_config.yaml @@ -134,6 +134,9 @@ product: lvmEnginePluginDriverName: "local.csi.openebs.io" umbrellaOpenebsHelmChartName: "mayastor/openebs" useUmbrellaOpenEBSChart: false + disableLocalEngines: + - "lvm" + - "zfs" zfsEnginePluginContainerName: "openebs-zfs-plugin" zfsEnginePluginDriverName: "zfs.csi.openebs.io" zfsEngineControllerDeploymentName: "openebs-zfs-localpv-controller"