Description of problem: Trying to remove a cluster role from a group with command, "oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated" Missing line break cause output hard to read Version-Release number of selected component (if applicable): openshift-clients-4.3.14-202004180552.git.1.a7a610a.el7.x86_64 Client Version: 4.3.14-202004180552-4fb2d4d Server Version: 4.3.13 Kubernetes Version: v1.16.2 How reproducible: Always Steps to Reproduce: 1. oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated Actual results: $ oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated Warning: Your changes may get lost whenever a master is restarted, unless you prevent reconciliation of this rolebinding using the following command: oc annotate clusterrolebinding.rbac system:build-strategy-docker-binding 'rbac.authorization.kubernetes.io/autoupdate=false' --overwriteclusterrole.rbac.authorization.k8s.io/system:build-strategy-docker removed: "system:authenticated" Expected results: $ oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated Warning: Your changes may get lost whenever a master is restarted, unless you prevent reconciliation of this rolebinding using the following command: oc annotate clusterrolebinding.rbac system:build-strategy-docker-binding 'rbac.authorization.kubernetes.io/autoupdate=false' --overwrite clusterrole.rbac.authorization.k8s.io/system:build-strategy-docker removed: "system:authenticated" Additional info:
[root@dhcp-140-138 ~]# oc version -o yaml clientVersion: buildDate: "2020-05-02T15:23:53Z" compiler: gc gitCommit: 29e9a330f0ab0eed17b5ba6a8cc198ccc4332567 gitTreeState: clean gitVersion: 4.5.0-202005021517-29e9a33 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 [root@dhcp-140-138 ~]# oc adm policy remove-cluster-role-from-group system:build-strategy-docker system:authenticated Warning: Your changes may get lost whenever a master is restarted, unless you prevent reconciliation of this rolebinding using the following command: oc annotate clusterrolebinding.rbac system:build-strategy-docker-binding 'rbac.authorization.kubernetes.io/autoupdate=false' --overwrite clusterrole.rbac.authorization.k8s.io/system:build-strategy-docker removed: "system:authenticated"
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