Documentation ¶
Index ¶
Constants ¶
View Source
const ClusterAdminIDPname = "cluster-admin"
View Source
const ClusterAdminUsername = "cluster-admin"
View Source
const GeneratingRandomPasswordString = "Generating random password"
View Source
const MaxPasswordLength = 23
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "admin",
Short: "Creates an admin user to login to the cluster",
Long: "Creates a cluster-admin user with an auto-generated password to login to the cluster",
Example: ` # Create an admin user to login to the cluster
rosa create admin -c mycluster -p MasterKey123`,
Run: run,
}
Functions ¶
func FindExistingClusterAdminIDP ¶ added in v1.2.24
func FindExistingClusterAdminIDP(cluster *cmv1.Cluster, r *rosa.Runtime) ( htpasswdIDP *cmv1.IdentityProvider, userList *cmv1.HTPasswdUserList)
func HasClusterAdmin ¶ added in v1.2.24
func HasClusterAdmin(userList *cmv1.HTPasswdUserList) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.