Skip to content

Commit

Permalink
gke/cluster: fix windows: Remove testonly code that installs SSH on W…
Browse files Browse the repository at this point in the history
…indows 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
  • Loading branch information
pjh authored and hoskeri committed Jul 23, 2024
1 parent 8481a00 commit d144acb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions gke/cluster/gce/windows/configure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d144acb

Please sign in to comment.