Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to validate kubectl binary against checksum / signature #25040

Closed
tcarland opened this issue Nov 14, 2020 · 5 comments · Fixed by #25259
Closed

Document how to validate kubectl binary against checksum / signature #25040

tcarland opened this issue Nov 14, 2020 · 5 comments · Fixed by #25259
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language sig/cli Categorizes an issue or PR as relevant to SIG CLI. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@tcarland
Copy link

There are no details or instructions on how to validate the binary downloaded from this page via some form of checksum, sha256 or otherwise. For automation purposes, eg. ansible playbook, being able to validate any binary downloads is a requirement of project stakeholders.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 14, 2020
@tcarland
Copy link
Author

tcarland commented Nov 14, 2020

The site doesn't allow browsing, but the file is there as kubectl.sha256 afterall. Might be worth mentioning this in the document?

@tcarland tcarland reopened this Nov 14, 2020
@sftim
Copy link
Contributor

sftim commented Nov 19, 2020

/retitle Document how to validate kubectl binary against checksum / signature
/language en
/kind feature
/triage accepted

The page in question is https://kubernetes.io/docs/tasks/tools/install-kubectl/

@k8s-ci-robot k8s-ci-robot changed the title Install and Set Up kubectl Document how to validate kubectl binary against checksum / signature Nov 19, 2020
@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language kind/feature Categorizes issue or PR as related to a new feature. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 19, 2020
@sftim
Copy link
Contributor

sftim commented Nov 19, 2020

To fix this:

The {{< skew … >}} and {{< param "fullversion" >}} shortcodes are useful for automatically filling in the current Kubernetes version.

/help
/sig cli

@k8s-ci-robot
Copy link
Contributor

@sftim:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

To fix this:

The {{< skew … >}} and {{< param "fullversion" >}} shortcodes are useful for automatically filling in the current Kubernetes version.

/help
/sig cli

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Nov 19, 2020
@nate-double-u
Copy link
Contributor

I may be able to help with this
/assign

nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 26, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future

fixes: kubernetes#25040
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 27, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future

fixes: kubernetes#25040
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 27, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 28, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 28, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 28, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 28, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Nov 28, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Dec 16, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Updating spacing throughout
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Dec 17, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Dec 17, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Dec 18, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
nate-double-u added a commit to nate-double-u/kubernetes-website that referenced this issue Dec 18, 2020
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Updating Linux-specific install instructions to use install command, and
macOS-specific instructions to chown root the install to provide a trusted
kubectl.

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
Brian-Kwon pushed a commit to Brian-Kwon/website that referenced this issue Feb 4, 2021
Adding instructions for how to validate kubectl binaries against checksum files (Linux, MacOS, Windows)

Updating links to download from https://dl.k8s.io/

Updating Linux-specific install instructions to use install command, and
macOS-specific instructions to chown root the install to provide a trusted
kubectl.

Adding note annotation around optional download instructions

Markdown updates
* Updating numbered lists to use markdown syntax ("1." for each entry), should make it easier to add and remove list items in future
* Adding some syntax highlighting to the command snippets

Correcting "PowerShell" spelling

fixes: kubernetes#25040

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language sig/cli Categorizes an issue or PR as relevant to SIG CLI. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
4 participants