feat: add support for image (OCI) volume type in pod details#1924
Open
ganey wants to merge 2 commits into
Open
feat: add support for image (OCI) volume type in pod details#1924ganey wants to merge 2 commits into
ganey wants to merge 2 commits into
Conversation
Kubernetes 1.31 introduced image volumes as alpha (feature gate off by default), beta in 1.33 (on by default), and stable/GA in 1.36. Previously any pod using an image volume showed "Error! Unknown pod volume kind" in the details drawer. - Add ImageVolumeSource type and image field to PodVolumeVariants - Add image.tsx variant component rendering OCI reference and pull policy - Wire image volume into the variant selector in variant.tsx Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ImageVolumeSourcetype andimagefield toPodVolumeVariantsin@freelensapp/kube-objectimage.tsxvariant component that renders the OCI reference and pull policyimagevolume kind into the variant selector invariant.tsxProblem
Pods using image volumes show "Error! Unknown pod volume kind" in the details drawer. Image volumes were introduced in Kubernetes 1.31 (alpha, feature gate off by default), promoted to beta in 1.33 (on by default), and reached stable/GA in 1.36.
Testing
Tested locally against a cluster running Kubernetes 1.36 with a pod using an
image:volume. The details drawer now shows the OCI reference and pull policy correctly.Example volume spec used for testing: