From d144acb1fd7bcdd115ba7571e7f218b78efb21f5 Mon Sep 17 00:00:00 2001 From: Peter Hornyack Date: Tue, 23 Nov 2021 11:44:55 -0800 Subject: [PATCH] gke/cluster: fix windows: Remove testonly code that installs SSH on Windows nodes We install SSH on upstream Windows nodes for testing purposes, but we never want to do this in GKE node pools. Removing this code ensures that we won't try to do this by mistake. Bug: 201568414 Change-Id: I85be2d794bdb17c09bc38712a5027bbee2a69fa0 --- gke/cluster/gce/windows/configure.ps1 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gke/cluster/gce/windows/configure.ps1 b/gke/cluster/gce/windows/configure.ps1 index 8f8453e121c53..288dc3431d38f 100644 --- a/gke/cluster/gce/windows/configure.ps1 +++ b/gke/cluster/gce/windows/configure.ps1 @@ -149,13 +149,6 @@ try { Set-PrerequisiteOptions - if (Test-IsTestCluster $kube_env) { - Log-Output 'Test cluster detected, installing OpenSSH.' - FetchAndImport-ModuleFromMetadata 'install-ssh-psm1' 'install-ssh.psm1' - InstallAndStart-OpenSsh - StartProcess-WriteSshKeys - } - Create-Directories Download-HelperScripts