Description of problem: oc get rolebinding / clusterrolebinding are missing the usage of roleBindingColumns https://github.com/openshift/ose/blob/master/staging/src/github.com/openshift/openshift-apiserver/pkg/printers/internalversion/printer.go#L46 Similar issue to https://bugzilla.redhat.com/show_bug.cgi?id=1784151 OCP 3.x: oc get rolebinding NAME ROLE USERS GROUPS SERVICE ACCOUNTS SUBJECTS logging-elasticsearch-view-role /view aggregated-logging-elasticsearch prometheus-metrics-viewer openshift-logging/prometheus-metrics-viewer openshift-metrics/prometheus system:deployer /system:deployer deployer system:deployers /system:deployer deployer system:image-builder /system:image-builder builder system:image-builders /system:image-builder builder system:image-puller /system:image-puller system:serviceaccounts:openshift-logging system:image-pullers /system:image-puller system:serviceaccounts:openshift-logging OCP 4: oc get rolebinding NAME AGE openshift-sdn-controller-leaderelection 33d prometheus-k8s 33d system:deployers 33d system:image-builders 33d system:image-pullers 33d Version-Release number of selected component (if applicable): 4.4.4 How reproducible: Always Steps to Reproduce: 1. oc get rolebinding 2. oc get clusterrolebinding 3. Actual results: No extra columns Expected results: Shows the extra columns with useful information Additional info:
This was fixed in 4.5, so I'm moving this to qa.
[root@dhcp-140-138 ~]# oc get clusterrolebinding |head NAME ROLE AGE alertmanager-main ClusterRole/alertmanager-main 2m57s [root@dhcp-140-138 ~]# oc get rolebinding NAME ROLE AGE prometheus-k8s Role/prometheus-k8s 131m [root@dhcp-140-138 ~]# oc version --client -o json { "clientVersion": { "major": "", "minor": "", "gitVersion": "4.5.0-202005291417-9933eb9", "gitCommit": "9933eb90790b36d153fcc55f8404724bb0929b96", "gitTreeState": "clean", "buildDate": "2020-05-29T14:24:36Z", "goVersion": "go1.13.4", "compiler": "gc", "platform": "linux/amd64" } }
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409