Merge pull request #32185 from jihoon-seo/220311_nit_kubectl-convert

nit: `kubectl` → `kubectl-convert`
This commit is contained in:
Kubernetes Prow Robot 2022-03-22 15:13:59 -07:00 committed by GitHub
commit 7352c425f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -38,13 +38,13 @@ The following methods exist for installing kubectl on Windows:
1. Validate the binary (optional) 1. Validate the binary (optional)
Download the kubectl checksum file: Download the `kubectl` checksum file:
```powershell ```powershell
curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe.sha256" curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl.exe.sha256"
``` ```
Validate the kubectl binary against the checksum file: Validate the `kubectl` binary against the checksum file:
- Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded: - Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded:
@ -59,7 +59,7 @@ The following methods exist for installing kubectl on Windows:
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256) $($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
``` ```
1. Append or prepend the kubectl binary folder to your `PATH` environment variable. 1. Append or prepend the `kubectl` binary folder to your `PATH` environment variable.
1. Test to ensure the version of `kubectl` is the same as downloaded: 1. Test to ensure the version of `kubectl` is the same as downloaded:
@ -156,13 +156,13 @@ Below are the procedures to set up autocompletion for PowerShell.
1. Validate the binary (optional) 1. Validate the binary (optional)
Download the kubectl-convert checksum file: Download the `kubectl-convert` checksum file:
```powershell ```powershell
curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe.sha256" curl -LO "https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe.sha256"
``` ```
Validate the kubectl-convert binary against the checksum file: Validate the `kubectl-convert` binary against the checksum file:
- Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded: - Using Command Prompt to manually compare `CertUtil`'s output to the checksum file downloaded:
@ -177,7 +177,7 @@ Below are the procedures to set up autocompletion for PowerShell.
$($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256) $($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256)
``` ```
1. Append or prepend the kubectl binary folder to your `PATH` environment variable. 1. Append or prepend the `kubectl-convert` binary folder to your `PATH` environment variable.
1. Verify plugin is successfully installed 1. Verify plugin is successfully installed