How to reset password for cluster-admin on ROSA

Solution Verified - Updated -

Environment

  • Red Hat OpenShift Service on AWS (ROSA)
    • 4

Issue

  • How to reset password for cluster-admin on ROSA

Resolution

  • A new password needs to be generated by removing and adding the cluster-admin user from the cluster:
$ rosa delete admin -c <cluster name>
$ rosa create admin -c <cluster name>

Root Cause

There's no reset mechanism in htpasswd,. A new password needs to be created by removing and re-adding the cluster-admin user to the cluster.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments