Skip to content

Commit d17624a

Browse files
committed
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 kubernetes-sigs/windows-gmsa#18. Signed-off-by: Jean Rouge <[email protected]>
1 parent efb5e67 commit d17624a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/windows/gmsa_full.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ func deployGmsaWebhook(f *framework.Framework, deployScriptPath string) (func(),
245245
"--file", manifestsFile,
246246
"--name", name,
247247
"--namespace", namespace,
248-
"--certs-dir", certsDir)
248+
"--certs-dir", certsDir,
249+
"--tolerate-master")
249250

250251
output, err := cmd.CombinedOutput()
251252
if err == nil {

0 commit comments

Comments
 (0)