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

flux-check terminates if k8s does not meet minimum required version #228

Open
drewwells opened this issue Aug 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@drewwells
Copy link

drewwells commented Aug 1, 2024

Describe the bug a clear and concise description of what the bug is.

Flux suggests that it will not work on k8s past EOL, but says it probably still works. However, the helm chart is requiring minimum version and will not install if we don't meet that criteria.
This should be a warning rather than a fatal error

What's your helm version?

n/a

What's your kubectl version?

1.27

What's the chart version?

2.13

What happened?

flux check refuses to install 2.13 on a k8s 1.25 cluster

k -n vela-system logs -f flux2-flux-check-2hv6r
► checking prerequisites
✗ Kubernetes version v1.25.10 does not match >=1.28.0-0

What you expected to happen?

List some warnings, complain that we are still running an ancient version of k8s

How to reproduce it?

install flux2 on a cluster below 1.28

Enter the changed values of values.yaml?

n/a

Enter the command that you execute and failing/misfunctioning.

flux is installing it, so flux helmrelease resume

Anything else we need to know?

https://github.com/fluxcd-community/helm-charts/blob/main/charts/flux2/templates/pre-install-job.yaml#L36

@drewwells drewwells added the bug Something isn't working label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant