diff --git a/chart/jenkins-operator/values.yaml b/chart/jenkins-operator/values.yaml index 0aad7af4..360dfbc4 100644 --- a/chart/jenkins-operator/values.yaml +++ b/chart/jenkins-operator/values.yaml @@ -168,7 +168,7 @@ jenkins: # className is storageClassName for PVC # See https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1 for more details - className: "-" + className: "" # env contains container environment variables # PVC backup provider handles these variables: diff --git a/test/e2e/helm_test.go b/test/e2e/helm_test.go index 9922154c..6637bdac 100644 --- a/test/e2e/helm_test.go +++ b/test/e2e/helm_test.go @@ -50,7 +50,7 @@ func TestDeployHelmChart(t *testing.T) { } cmd := exec.Command("helm", "upgrade", "jenkins", "./chart/jenkins-operator", "--namespace", namespace, "--debug", - "--set-string", fmt.Sprintf("jenkins.namespace=%s", namespace, "--install")) + "--set-string", fmt.Sprintf("jenkins.namespace=%s", namespace), "--install") output, err := cmd.CombinedOutput() require.NoError(t, err, string(output)) @@ -58,7 +58,7 @@ func TestDeployHelmChart(t *testing.T) { waitForJenkinsUserConfigurationToComplete(t, jenkins) cmd = exec.Command("helm", "upgrade", "jenkins", "./chart/jenkins-operator", "--namespace", namespace, "--debug", - "--set-string", fmt.Sprintf("jenkins.namespace=%s", namespace, "--install")) + "--set-string", fmt.Sprintf("jenkins.namespace=%s", namespace), "--install") output, err = cmd.CombinedOutput() require.NoError(t, err, string(output))