mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-18 14:01:04 +02:00
#349 Fix Helm upgrade issue with PVC
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user