While doing the DO280 course one of the guided labs has us remove the self-provisioners cluster role from the system:authenticated:oauth virtual group and then later add it back.
Is there a way to find these system groups with the oc command? oc get group doesn't list them, and oc adm groups doesn't have a list option.
I'm not sure if I'm missing something or if this type of group is something that you can only know about through documentation?
@alleb as @flozano mentioned , it is clear you have a version mismatch : Kubernetes server 1.31 maps to OpenShift 4.18 whereas client oc version is 3.10 corresponding to K8s v1.10. hence you are getting this error.
Download the correct mathcing OC cli from here : https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/cli_tools/openshift-...
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.