#349 Fix Helm upgrade issue with PVC

This commit is contained in:
Tomasz Sęk 2020-06-07 14:56:22 +02:00
parent 87ee491a74
commit 8c62b6909d
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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))