Fixing gmsa-webhook install steps for Windows GMSA full tests

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
This commit is contained in:
Mark Rossetti 2023-05-31 13:59:02 -07:00
parent 544005c32d
commit 5b3510c0b6
No known key found for this signature in database
GPG Key ID: 3188D8FC849D8762

View File

@ -321,8 +321,8 @@ func deployGmsaWebhook(ctx context.Context, f *framework.Framework) error {
bindClusterRBACRoleToServiceAccount(ctx, f, s, "cluster-admin") bindClusterRBACRoleToServiceAccount(ctx, f, s, "cluster-admin")
installSteps := []string{ installSteps := []string{
"echo \"@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing/\" >> /etc/apk/repositories", "echo \"@community http://dl-cdn.alpinelinux.org/alpine/edge/community/\" >> /etc/apk/repositories",
"&& apk add kubectl@testing gettext openssl", "&& apk add kubectl@community gettext openssl",
"&& apk add --update coreutils", "&& apk add --update coreutils",
fmt.Sprintf("&& curl %s > gmsa.sh", gmsaWebhookDeployScriptURL), fmt.Sprintf("&& curl %s > gmsa.sh", gmsaWebhookDeployScriptURL),
"&& chmod +x gmsa.sh", "&& chmod +x gmsa.sh",