Skip to content

Add VolumeAttributesClass support under Storage #5058

@Vikaspal8923

Description

@Vikaspal8923

Is your feature request related to a problem? Please describe the impact that the lack of the feature requested is creating.

Headlamp currently has first-class support for storage resources such as PersistentVolumeClaims, PersistentVolumes, and StorageClasses, but it does not appear to expose VolumeAttributesClass as a dedicated storage resource in the UI.

This creates a gap for users working with newer Kubernetes storage features. VolumeAttributesClass is used to describe mutable volume attributes for supported CSI-backed storage, and without UI support, users must fall back to kubectl or raw YAML workflows to inspect and manage these resources.

Describe the solution you'd like

Add VolumeAttributesClass as a dedicated resource under the Storage section in Headlamp.

A minimal first version could include:

  • A sidebar entry such as Volume Attributes Classes
  • List view
  • Details view
  • Support for viewing/editing through the existing generic resource editor

Because this is a relatively new Kubernetes feature and only applies to supported CSI drivers, the UI should stay conservative:

  • show a small help note that this resource is effective only for compatible CSI drivers that support volume modification

What users will benefit from this feature?

This would mainly benefit:

  • Kubernetes users working with newer CSI storage capabilities

This is especially relevant in environments using CSI-based storage drivers that support mutable volume attributes.

Are you able to implement this feature?

Yes (I will propose a PR).

Do you want to help implement this feature? Please see our contribution docs. For any non-trivial contributions, we advise you to join our our slack channel to discuss the implementation with Headlamp's core developers.

Additional context

A few important constraints are worth calling out before implementation:

  • It is only intended for CSI-backed storage
  • Practical usefulness depends on the CSI driver supporting volume modification

Relevant Kubernetes references:

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions