controller-tools icon indicating copy to clipboard operation
controller-tools copied to clipboard

feature: support the (X/Y) display mode for the printcolumn field in kubebuilder

Open googs1025 opened this issue 1 year ago • 8 comments

/kind feature As mentioned in the title and our discussion here https://github.com/kubernetes-sigs/kubebuilder/discussions/4134, can we support a JsonPath-like way of multiple combinations? This would allow for more flexible and rich display in CRs, for example, in the format of (X/Y).

It seems that there are others who have the same need.

  • https://github.com/kubernetes-sigs/kubebuilder/discussions/2285
  • https://stackoverflow.com/questions/66754354/how-to-display-a-kubectl-column-using-a-fraction-format-i-e-x-y-for-a-custom

googs1025 avatar Sep 07 '24 06:09 googs1025