Skip to content

Track Kubernetes Channels for latest versions #351

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

davidcollom
Copy link
Collaborator

@davidcollom davidcollom commented Apr 1, 2025

This change introduces a kubernetes version checking ability, it uses the official k8s channels .txt file and defaults to "stable" for its release channel, this can be overriden with a cli flag

Things outstanding:

  • Update Readme describing the feature.
  • Unit test coverage.
  • Use our own semver library over `github.com/Masterminds/semver/v3's (I used it more for a PoC

Stretch goals and more longer term idea's:

@maria-reynoso
Copy link
Contributor

This look great! It would be great to mention this new feature to the README.md

@davidcollom davidcollom added this to the future-development milestone Apr 2, 2025
@davidcollom davidcollom linked an issue Apr 30, 2025 that may be closed by this pull request
@davidcollom davidcollom removed this from the future-development milestone Apr 30, 2025
@davidcollom davidcollom added this to the future-development milestone Jul 1, 2025
@davidcollom davidcollom added the enhancement New feature or request label Jul 17, 2025
@maria-reynoso maria-reynoso marked this pull request as ready for review July 25, 2025 13:27
Copy link
Collaborator Author

@davidcollom davidcollom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you've got some great progress here!! Just a few things to consider.


if err := c.SetupWithManager(mgr); err != nil {
kubeController := controller.NewKubeReconciler(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking, if it's worth checking ig opts.KubeChannel is not empty, and not starting the kubernetes channel version Reconciler... Maybe that's the SetupWithManager's responsibility? wdyt?

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

Successfully merging this pull request may close these issues.

[FEATURE] Track Kubernetes Channels for latest versions
2 participants