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

Helm chart should always return latest image #6

Open
fabriziopandini opened this issue Jul 13, 2022 · 3 comments
Open

Helm chart should always return latest image #6

fabriziopandini opened this issue Jul 13, 2022 · 3 comments

Comments

@fabriziopandini
Copy link

Currently when using this from CAPI we are pinning to a specific image tag, and this will require some maintenance to keep up with new releases.
Instead, we would like the helm chart to always return the latest image by default

@Jont828
Copy link
Owner

Jont828 commented Jul 13, 2022

Sure, I think we can set it up so the Helm chart references the latest tag instead of a specific version. The only thing is that older versions of the Helm chart might not work with the latest Docker image, i.e. the older versions don't have a ClusterRoleBinding in the chart. Is there a best practice for how to deal with that? Or would it be easier for our purposes to maintain a rolling version of the chart?

@fabriziopandini
Copy link
Author

Could it be possible for CAPI to get always the latest version of the chart?
If this is possible, then it doesn't matter if a specific version of the chart is pinned to an image version or if it uses :latest tag.
What is important from my PoV is that the version pinning does not happen in CAPI because most of the maintainers don't have visibility into the visualizer release cadence

@Jont828
Copy link
Owner

Jont828 commented Jul 14, 2022

Yes, that should be possible. If you do helm install without a version it will fetch the latest chart from the repo. If I remove the image tag from values.yaml and instead put it in the chart, I believe fetching the latest chart will then include the latest Docker image. The only thing is for CAPI, do we need to manually delete hack/observability/visualizer/charts for it to pull the latest version?

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

No branches or pull requests

2 participants