multi-cluster-app-dispatcher
multi-cluster-app-dispatcher copied to clipboard
[core] AppWrapper CRD should specify a status printer column
It would be nice if kubectl get appwrapper had a status column.
@astefanutti @dimakis can you please share thoughts on what would be needed to enable status column for AW
@asm582 an additional printer column can be added to the AppWrapper CRD additionalPrinterColumns field, that points to the AppWrapper state field.
Now that the CRDs are generated from the APIs, this can be achieved by adding the +kubebuilder:printcolumn marker to the AppWrapper struct, e.g.:
// +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`
And regenerating the CRD.