From f3b0241feff39c8f461a6ae8f611fb4d958ccfaf Mon Sep 17 00:00:00 2001 From: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Date: Mon, 22 Jan 2024 11:51:27 -0800 Subject: [PATCH] helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk --- .github/workflows/helm-test-workflow.yml | 1 + kuttl/tests/helm/c3-with-apps/03-install-c3.yaml | 2 +- kuttl/tests/helm/c3-with-operator/00-install-c3.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-test-workflow.yml b/.github/workflows/helm-test-workflow.yml index b735787c1..31214afcd 100644 --- a/.github/workflows/helm-test-workflow.yml +++ b/.github/workflows/helm-test-workflow.yml @@ -6,6 +6,7 @@ on: - main - feature** - testing + - helm-2-5-fix jobs: build-operator-image: runs-on: ubuntu-latest diff --git a/kuttl/tests/helm/c3-with-apps/03-install-c3.yaml b/kuttl/tests/helm/c3-with-apps/03-install-c3.yaml index d5a3330d1..428664a12 100644 --- a/kuttl/tests/helm/c3-with-apps/03-install-c3.yaml +++ b/kuttl/tests/helm/c3-with-apps/03-install-c3.yaml @@ -2,5 +2,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - - command: helm install splunk-c3 $HELM_REPO_PATH/splunk-enterprise -f c3_config.yaml --set splunk-operator.splunkOperator.image.repository=${KUTTL_SPLUNK_OPERATOR_IMAGE} --set splunk-operator.image.repository=${KUTTL_SPLUNK_ENTERPRISE_IMAGE} + - command: helm install splunk-c3 $HELM_REPO_PATH/splunk-enterprise -f c3_config.yaml --set splunk-operator.splunkOperator.clusterWideAccess=false --set splunk-operator.splunkOperator.persistentVolumeClaim.storageClassName=gp2 --set splunk-operator.splunkOperator.image.repository=${KUTTL_SPLUNK_OPERATOR_IMAGE} --set splunk-operator.image.repository=${KUTTL_SPLUNK_ENTERPRISE_IMAGE} namespaced: true \ No newline at end of file diff --git a/kuttl/tests/helm/c3-with-operator/00-install-c3.yaml b/kuttl/tests/helm/c3-with-operator/00-install-c3.yaml index d5a3330d1..428664a12 100644 --- a/kuttl/tests/helm/c3-with-operator/00-install-c3.yaml +++ b/kuttl/tests/helm/c3-with-operator/00-install-c3.yaml @@ -2,5 +2,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - - command: helm install splunk-c3 $HELM_REPO_PATH/splunk-enterprise -f c3_config.yaml --set splunk-operator.splunkOperator.image.repository=${KUTTL_SPLUNK_OPERATOR_IMAGE} --set splunk-operator.image.repository=${KUTTL_SPLUNK_ENTERPRISE_IMAGE} + - command: helm install splunk-c3 $HELM_REPO_PATH/splunk-enterprise -f c3_config.yaml --set splunk-operator.splunkOperator.clusterWideAccess=false --set splunk-operator.splunkOperator.persistentVolumeClaim.storageClassName=gp2 --set splunk-operator.splunkOperator.image.repository=${KUTTL_SPLUNK_OPERATOR_IMAGE} --set splunk-operator.image.repository=${KUTTL_SPLUNK_ENTERPRISE_IMAGE} namespaced: true \ No newline at end of file