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

bitnami/kubectl image has vulnerabilities #530

Open
NoamGaloz opened this issue Dec 7, 2023 · 2 comments
Open

bitnami/kubectl image has vulnerabilities #530

NoamGaloz opened this issue Dec 7, 2023 · 2 comments

Comments

@NoamGaloz
Copy link

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
A vulnerability scan on my clusters identified that The bitnami/kubectl image you're using has vulnerabilities.

Here are a few examples-

Would you consider replacing this image with cgr.dev/chainguard/kubectl?
It is way more light and contains only kubectl.

What did you expect to happen:

The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • helm version (use helm version):
  • helm chart version and app version (use helm list -n <YOUR NAMESPACE>):
  • Kubernetes version (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
@jenting
Copy link
Collaborator

jenting commented Dec 7, 2023

Would you consider replacing this image with cgr.dev/chainguard/kubectl?

The kubectl version running aligns with the cluster Kubernetes version by default, unless the user specifies which kubectl version to use.
As far as I know, the cgr.dev/chainguard/kubectl does not offer each kubectl version but only the latest one.
I think the user can overwrite the default kubectl image by updating the values.yaml.

@reitermarkus
Copy link

reitermarkus commented Dec 19, 2023

Relatedly, deploying Velero on a new 1.29 cluster is currently broken by default because no bitnami/kubectl:1.29 image exists (yet). See #531.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants