From d17624ad8255f81fdeed578ad370600b6fd3b487 Mon Sep 17 00:00:00 2001 From: Jean Rouge Date: Fri, 11 Oct 2019 14:15:59 -0700 Subject: [PATCH] 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 --- test/e2e/windows/gmsa_full.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/windows/gmsa_full.go b/test/e2e/windows/gmsa_full.go index 4833811edaf..11cccd2d086 100644 --- a/test/e2e/windows/gmsa_full.go +++ b/test/e2e/windows/gmsa_full.go @@ -245,7 +245,8 @@ func deployGmsaWebhook(f *framework.Framework, deployScriptPath string) (func(), "--file", manifestsFile, "--name", name, "--namespace", namespace, - "--certs-dir", certsDir) + "--certs-dir", certsDir, + "--tolerate-master") output, err := cmd.CombinedOutput() if err == nil {