Repository navigation
Replies: 1 comment 2 replies
|
Thank you for the suggestion and the clear example! Please keep the feedback coming. It is always valuable, and reasonable features that fit sofka will always find their way in. :) This is a useful case, and I agree with the scope. I prefer your first option: let The first value that exists and is not I will create an issue to track this and start the implementation. Thanks again for helping improve sofka! |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello again!
I'm starting to feel like I'm asking for a lot. 😅
Would it be possible to define fallback paths for columns?
For example, I have some clusters using Karpenter, so I created a column that displays the
karpenter.sh/nodepoollabel. However, I also have a single node group managed by AWS Auto Scaling, which does not have that label and instead useseks.amazonaws.com/nodegroup.Because the configured path does not exist for those nodes, the column currently displays
<none>. It would be really useful if columns could support fallback paths, where the first available value is used.Something like:
The paths would be evaluated in order, and the first one that exists would be displayed.
Another possible syntax could be a
fallbackfield:This would be particularly useful for Kubernetes resources where the same information can come from different controllers or implementations.
For example, in my case:
karpenter.sh/nodepooleks.amazonaws.com/nodegroupThis would also make custom column configurations much more reusable across clusters with slightly different setups.
How it is now:
All reactions