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

Reduce the number of image we maintain here #1839

Open
2 of 6 tasks
vdemeester opened this issue Feb 21, 2024 · 2 comments
Open
2 of 6 tasks

Reduce the number of image we maintain here #1839

vdemeester opened this issue Feb 21, 2024 · 2 comments
Labels
kind/misc Categorizes issue or PR as a miscellaneuous one. kind/question Issues or PRs that are questions around the project or a particular feature

Comments

@vdemeester
Copy link
Member

vdemeester commented Feb 21, 2024

I wonder if we could reduce the number of images we maintain here to the minimum and rely more on upstream images instead. Few examples:

  • skopeo has upstream images, and I am not even sure where it is used in our infrastructure
  • tkn could be managed directly on tektoncd/cli, published at release time (and thus, having tagged version aligned with release)
  • hub is very similar to this
  • ko has an upstream image we could use as well I think (same, it would be tagged per version I think, cc @imjasonh)
    • ko-gcloud is a bit trickier
  • kubectl I am not sure, but it keels like there might be some official or semi-official / maintained image already
  • openssh-server is.. a wonder to me, not sure where / how we use that one even

I don't think it has a huge impact on cost (registry side), but, less things to maintain is less work 🙃 .

test-runner is not really concerned as it is the image used by prow, so it has everything in it. If we manage to get out of prow in the future, this image would become deprecated.

cc @wlynch @afrittoli @tektoncd/plumbing-maintainers

(Sidenote: we could also migrate the one we can to apko maybe ?)

@vdemeester vdemeester added kind/question Issues or PRs that are questions around the project or a particular feature kind/misc Categorizes issue or PR as a miscellaneuous one. labels Feb 21, 2024
@afrittoli
Copy link
Member

If the cli and hub teams are interested in maintaining their own images, that'd be great.
Fine to use upstream images where available, they weren't at the time but things have improved :)

@wlynch
Copy link
Member

wlynch commented Feb 21, 2024

💯

I ran a grype scan on images we reference in plumbing a few weeks ago and the results were not great 😅 https://gist.github.com/wlynch/117da1f0e102e699ac13bc33d9f5cf40

For simple images upstream SGTM, and https://images.chainguard.dev/ also exists with a bunch of available images that we can use - most latest versions are free, with latest-dev including shells + common tools for scripting (if there's anything missing we want lmk).

If there's interest, I can revive #1735 to build images with apko that would allow us to mix-and-match apk packages as we want - Wolfi packages are maintained by Chainguard, but we can also source from Alpine repositories directly if we need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/misc Categorizes issue or PR as a miscellaneuous one. kind/question Issues or PRs that are questions around the project or a particular feature
Projects
None yet
Development

No branches or pull requests

3 participants