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

Check if vcluster chart version supports k8s version #2114

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

rmweir
Copy link
Contributor

@rmweir rmweir commented Sep 4, 2024

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Fixes ENG-4480

Prior, an extra value, distro.k8s.version, could be set for a vcluster with a version that does not support the distro.k8s.version field. This would lead to a panic in vcluster. Now, the value is only set if the vcluster chart version is known to support it. Otherwise, it is left empty, leading to the omission of the field and no panic.

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where older vcluster versions may panic due to being passed an unsupported value.

What else do we need to know?

Prior, an extra value, distro.k8s.version, could be set for a vcluster
with a version that does not support the distro.k8s.version field.
This would lead to a panic in vcluster. Now, the value is only set if
the vcluster chart version is known to support it. Otherwise, it is
left empty, leading to the omission of the field and no panic.

fix
@rmweir rmweir marked this pull request as ready for review September 4, 2024 23:32
Copy link

netlify bot commented Sep 4, 2024

Deploy Preview for vcluster-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7f441bf
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66d8edfce4b858000893f307
😎 Deploy Preview https://deploy-preview-2114--vcluster-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rmweir rmweir requested a review from FabianKramm September 5, 2024 01:29
@FabianKramm FabianKramm merged commit ac9f321 into loft-sh:main Sep 5, 2024
61 checks passed
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

Successfully merging this pull request may close these issues.

2 participants