Skip to content

Skip inline-spec VolumeAttachments in the Kubernetes topology check - #539

Open
LouisParkin wants to merge 3 commits into
stackstate-7.78.2from
inline-volume-attachments
Open

LouisParkin wants to merge 3 commits into
stackstate-7.78.2from
inline-volume-attachments

Conversation

@LouisParkin

Copy link
Copy Markdown

A VolumeAttachment can use inlineVolumeSpec instead of persistentVolumeName (CSI migration of in-tree inline volumes), leaving the name nil. The persistent volume collector dereferenced it in both of its attachment loops, so any such attachment panicked the Kubernetes topology check. Those attachments are now skipped. There is no PersistentVolume component to relate them to, so the topology is unchanged.

The new test mixes an inline attachment with a normal one: it panicked before the fix, and now passes with the normal attachment's node tag and node → PV relation intact.

Fixes #537

🤖 Generated with Claude Code

An attachment with inlineVolumeSpec has no persistentVolumeName; dereferencing it panicked the topology check.
The moving cacert.pem fails checksum verification whenever curl publishes a new bundle.
@LouisParkin
LouisParkin enabled auto-merge October 1, 2026 13:59
@LouisParkin
LouisParkin added this pull request to the merge queue Oct 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to invalid changes in the merge commit Oct 1, 2026

This branch has not been deployed

No deployments
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.

Skip inline-spec VolumeAttachments in the Kubernetes topology check

2 participants