-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more columns to CRDs #588
Comments
Related: #586 |
Agree that this would be great to have. #592 adds a "Created At" column, but I think "Admitted" is going to be more difficult here. Unfortunately |
You can do it with Also can do it directly like For the ones that are nested (listener status) I don't know how to handle though. |
@howardjohn Unfortunately I haven't been able to get that to work for
but unfortunately adding the same logic to |
Hm.. it seems like cert-manager is doing this: https://github.com/jetstack/cert-manager/pull/1194/files#diff-4cd218a9d6c5b00138ca643ec6b983015ba906cff00011340e798d668b9dfa39R27. Not sure what the gap is. The |
I think one of the best solutions that's been proposed so far involves a mutating webhook that populates new fields just for kubectl output. That would allow us the ability to customize all output with a great deal of control. Of course there's a lot of overhead in a webhook. With the recent ReferencePolicy addition, it's clear that more output fields would be helpful there as well, but since it's essentially two lists of structs, it's very difficult without something like a webhook. More info and discussion is in #629. |
While grooming we saw that this one was open for a long period of time without anyone with a strong use case to champion it. We're going to close this as we don't expect anyone's ready to drive it forward, but if you still want this feature and have a strong use case we will be happy to reconsider this and re-open. |
What would you like to be added:
We should add more columns to the CRDs to expose useful information in
kubectl
. For example, we can expose Admitted for most types:I would also suggest adding AGE to align with most other k8s types.
Why is this needed:
Useful to expose info here.
The text was updated successfully, but these errors were encountered: