Skip to content

Conversation

@rammanokar-plateron
Copy link

Implement custom Enter key handler for Karpenter NodeClaim resources to
navigate directly to the associated node. Previously, pressing Enter on a
NodeClaim would only show its YAML description. Now it extracts the nodeName
from status.nodeName and navigates to the corresponding node view.

Resolves #3658

Changes

  • feat(client/gvrs.go): Add NodeClaimGVR constant for karpenter.sh/v1/nodeclaims
  • feat(view/nodeclaim.go): Create NodeClaim view with custom showNode handler
  • feat(view/registrar.go): Register NodeClaim viewer in the custom viewers registry

The implementation extracts nodeName from NodeClaim status using unstructured access and follows the same navigation pattern as other resources (e.g., Deployment → Pods).

Implement custom Enter key handler for Karpenter NodeClaim resources to
navigate directly to the associated node. Previously, pressing Enter on a
NodeClaim would only show its YAML description. Now it extracts the nodeName
from status.nodeName and navigates to the corresponding node view.

Resolves derailed#3658

Changes:
- Add NodeClaimGVR constant for karpenter.sh/v1/nodeclaims
- Create NodeClaim view with custom showNode handler
- Register NodeClaim viewer in the custom viewers registry
- Extract nodeName from NodeClaim status using unstructured access
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.

Karpenter NodeClaim to NodeName navigation

1 participant