Skip to content

feat: add support for image (OCI) volume type in pod details#1924

Open
ganey wants to merge 2 commits into
freelensapp:mainfrom
ganey:feat/image-volume-support
Open

feat: add support for image (OCI) volume type in pod details#1924
ganey wants to merge 2 commits into
freelensapp:mainfrom
ganey:feat/image-volume-support

Conversation

@ganey
Copy link
Copy Markdown

@ganey ganey commented Jun 3, 2026

Summary

  • Adds ImageVolumeSource type and image field to PodVolumeVariants in @freelensapp/kube-object
  • Adds a new image.tsx variant component that renders the OCI reference and pull policy
  • Wires the image volume kind into the variant selector in variant.tsx

Problem

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:

volumes:
  - name: my-image-vol
    image:
      reference: busybox:latest
      pullPolicy: IfNotPresent

ganey and others added 2 commits June 3, 2026 17:10
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>
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.

1 participant