mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Amending the GMSA e2e test to allow it to run against Windows-only clusters
e2e Windows tests can be run against Windows-only clusters, which currently will cause the GMSA test to fail, as it needs to be able to deploy pods to at least one Linux node, for the GMSA webhook; this patch leverages the new `--tolerate-master` flag that was added to the GMSA webhook deploy script in https://github.com/kubernetes-sigs/windows-gmsa/pull/18. Signed-off-by: Jean Rouge <rougej+github@gmail.com>
This commit is contained in:
parent
efb5e676e1
commit
d17624ad82
@ -245,7 +245,8 @@ func deployGmsaWebhook(f *framework.Framework, deployScriptPath string) (func(),
|
|||||||
"--file", manifestsFile,
|
"--file", manifestsFile,
|
||||||
"--name", name,
|
"--name", name,
|
||||||
"--namespace", namespace,
|
"--namespace", namespace,
|
||||||
"--certs-dir", certsDir)
|
"--certs-dir", certsDir,
|
||||||
|
"--tolerate-master")
|
||||||
|
|
||||||
output, err := cmd.CombinedOutput()
|
output, err := cmd.CombinedOutput()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user