admin

package
v1.2.34-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL