From b6d54ab863e9a0849c844cb76a463fde07b83656 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 a1eaaae..75c6b9d 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"` + DisableEngines []string `yaml:"disableEngines"` 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 8c608b6..5fc338c 100644 --- a/configurations/product/mayastor_config.yaml +++ b/configurations/product/mayastor_config.yaml @@ -134,6 +134,9 @@ product: lvmEnginePluginDriverName: "local.csi.openebs.io" umbrellaOpenebsHelmChartName: "openebs" useUmbrellaOpenEBSChart: false + disableEngines: + - "lvm" + - "zfs" zfsEnginePluginContainerName: "openebs-zfs-plugin" zfsEnginePluginDriverName: "zfs.csi.openebs.io" zfsEngineControllerDeploymentName: "openebs-zfs-localpv-controller"