k9s
k9s copied to clipboard
status.conditions for CR should be displayed as a list in the Describe view
Is your feature request related to a problem? Please describe.
It's sometimes confusing to look at the list of status.conditions in the Describe view, they should be a list in -o yaml
.
Describe the solution you'd like Lists under "Status" should be properly displayed as a list.
Describe alternatives you've considered N/A
Additional context
For example, here is a DatadogMetric
Custom Resource's Describe vs Edit:
Hello @yzgyyang,
I believe the describe functionality uses whatever string is returned by the Kubernetes API, without trying to transform it from a list into anything else, but I'll have a look to be sure. Meanwhile, can you provide a CRD YAML so I try to reproduce this?
At least for me, using the latest release 0.32, it works as expected for the ArgoCD ApplicationSet Custom Resource.
@yzgyyang, may I know which k9s version you have?
@placintaalexandru I'm using the latest v0.32.3. Weirdly, when I tried an ApplicationSet
CR, it's also doing weird things - the conditions are not showed as a list, but another difference that I spotted is that the "keys" somehow got more "human readable" which is not something that I want (LastTransitionTime
<-> Last Transition Time
).
I wonder if there is some config that I missed?
If it helps, I'm on OS: macOS 14.3.1 23D60 arm64
.
ok, i can reproduce the issue even with v0.32.4
I'll have a look at it
@yzgyyang
this is the default kubernetes API behavior: k9s just takes whatever the API returns, splits by \n
and that's what it displays