After you define an identity provider and create a new cluster-admin
user, you can remove the kubeadmin to improve cluster security.
|
Warning
|
If you follow this procedure before another user is a |
Prerequisites
-
You must have configured at least one identity provider.
-
You must have added the
cluster-adminrole to a user. -
You must be logged in as an administrator.
Procedure
-
Remove the
kubeadminsecrets:$ oc delete secrets kubeadmin -n kube-system