Skip to content

fix(k8s): display disabled persistent storage correctly - #1135

Open
diodonfrost wants to merge 1 commit into
masterfrom
fix/k8s-persistent-storage-display
Open

fix(k8s): display disabled persistent storage correctly#1135
diodonfrost wants to merge 1 commit into
masterfrom
fix/k8s-persistent-storage-display

Conversation

@diodonfrost

Copy link
Copy Markdown

This PR fixes persistent storage status in k8s get. It:

  • Displays disabled when CSI is false, null or absent
  • Keeps enabled when CSI is true
  • Adds command output regression tests to validation and CI

The previous check treated any non-null CSI value as enabled, including false. The command now displays the persistent storage state instead of checking whether the field is present. The JSON output and other cluster information remain unchanged.

@diodonfrost
diodonfrost requested a review from a team as a code owner September 9, 2026 08:40
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

🔎 A preview has been automatically published!

If you created the alias to the preview script, you can run this command to download and install this preview:

clever-preview update fix-k8s-persistent-storage-display

You can also run it from your local repository:

./scripts/preview.js update fix-k8s-persistent-storage-display
OS SHA256 checksum
🐧 linux 65596252d08970b696500e782582d91ed87604569047b74dd9f3ae06dc07601a
🍏 macos ee2ce7fd7c866002e445a63d0943fe5217fdb43e66ad6dfb029c07f654c8a572

This preview will be deleted once this PR is closed.

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