Skip to content

chore(helm): Switch to official registry for kubectl image by default - #2065

Merged
sunsingerus merged 4 commits into
Altinity:0.27.4from
fhoekstra:patch-1
Aug 17, 2026
Merged

chore(helm): Switch to official registry for kubectl image by default#2065
sunsingerus merged 4 commits into
Altinity:0.27.4from
fhoekstra:patch-1

Conversation

@fhoekstra

@fhoekstra fhoekstra commented Aug 13, 2026

Copy link
Copy Markdown

Motivation

Bitnami does not maintain their images anymore and they will soon be taken offline: we need to switch the default kubectl image for this Helm chart to a maintained registry that will continue to be available for pulls.
Source: bitnami/containers#83267

The official k8s registry seems like the best place to get a kubectl image.

There is one added maintenance burden though: the k8s registry does not keep a latest or release tag, so we'll have to keep this image tag up-to-date with recent patches.

If you are interested, I could help with configuring Renovate for this repository to keep this image tag up to date with patches automatically.

Important items to consider before making a Pull Request

Please check items PR complies to:

  • All commits in the PR are squashed. More info
  • The PR is made into dedicated next-release branch, not into master branch1. More info
  • The PR is signed. More info

--

1 If you feel your PR does not affect any Go-code or any testable functionality (for example, PR contains docs only or supplementary materials), PR can be made into master branch, but it has to be confirmed by project's maintainer.

@fhoekstra
fhoekstra force-pushed the patch-1 branch 2 times, most recently from 370cc90 to 1bb09f1 Compare August 13, 2026 13:18
@fhoekstra
fhoekstra marked this pull request as draft August 13, 2026 13:30
Bitnami does not maintain their images anymore and they will soon be
taken offline: we need to switch the default kubectl image for this Helm
chart to a maintained registry that will continue to be available for
pulls.
The official k8s registry seems like the best place to get a kubectl
image.

Signed-off-by: Freek Hoekstra <git@freekhoekstra.nl>
@fhoekstra
fhoekstra marked this pull request as ready for review August 13, 2026 13:45
Slach added 2 commits August 13, 2026 20:48
Signed-off-by: slach <bloodjazman@gmail.com>
Signed-off-by: slach <bloodjazman@gmail.com>
Signed-off-by: slach <bloodjazman@gmail.com>
@fhoekstra

Copy link
Copy Markdown
Author

@Slach according to my testing, the official kubectl image has no /bin/sh, it only has kubectl, hence my changes to the command in the CRD hook job

@fhoekstra

fhoekstra commented Aug 14, 2026

Copy link
Copy Markdown
Author

And um, despite the Markdown formatting of my PR description (which looks amazing, I know) I wrote it all by hand.

This consideration is worth checking out:

There is one added maintenance burden though: the k8s registry does not keep a latest or release tag, so we'll have to keep this image tag up-to-date with recent patches.

If you are interested, I could help with configuring Renovate for this repository to keep this image tag up to date with patches automatically.

For alternatives, you could choose an image from a less trustworthy source that includes a /bin/sh and has a latest tag. This would give more convenience for you at the expense of default security posture.

@sunsingerus
sunsingerus changed the base branch from 0.28.0 to 0.27.4 August 17, 2026 11:15
@sunsingerus sunsingerus added the planned for review This feature is planned for review label Aug 17, 2026
@sunsingerus
sunsingerus merged commit b958f60 into Altinity:0.27.4 Aug 17, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

planned for review This feature is planned for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants