mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-08 17:16:48 +02:00
#45 Add test to check for imagePullSecrets propagation
This commit is contained in:
@@ -187,9 +187,8 @@ func AddSecretsLoaderToGroovyScript(secretsPath string) func(groovyScript string
|
||||
break
|
||||
}
|
||||
}
|
||||
asdf := strings.Join(lines[:importIndex], "\n") + "\n\n" + fmt.Sprintf(secretsLoaderGroovyScriptFmt, secretsPath) + "\n\n" + strings.Join(lines[importIndex:], "\n")
|
||||
|
||||
return asdf
|
||||
return strings.Join(lines[:importIndex], "\n") + "\n\n" + fmt.Sprintf(secretsLoaderGroovyScriptFmt, secretsPath) + "\n\n" + strings.Join(lines[importIndex:], "\n")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user