Documentation ¶
Index ¶
- Constants
- func BuildMissingOperatorRoleCommand(missingRoles map[string]*cmv1.STSOperator, cluster *cmv1.Cluster, ...) (string, error)
- func CreateMissingRoles(r *rosa.Runtime, missingRolesInCS map[string]*cmv1.STSOperator, ...) error
- func GeOperatorRolePrefixFromClusterName(clusterName string) string
- func GetOperatorRoleName(cluster *cmv1.Cluster, missingOperator *cmv1.STSOperator) string
- func ValidateAccountRolesManagedPolicies(r *rosa.Runtime, prefix string, hostedCPPolicies bool) error
- func ValidateOperatorRolesManagedPolicies(r *rosa.Runtime, cluster *cmv1.Cluster, ...) error
- func ValidateUnmanagedAccountRoles(roleARNs []string, awsClient aws.Client, version string) error
Constants ¶
View Source
const (
RosaUpgradeAccRolesModeAuto = "ROSAUpgradeAccountRolesModeAuto"
)
Variables ¶
This section is empty.
Functions ¶
func CreateMissingRoles ¶ added in v1.2.12
func GeOperatorRolePrefixFromClusterName ¶ added in v1.2.37
GeOperatorRolePrefixFromClusterName returns a valid operator role prefix from the cluster name An operator role prefix is considered valid if it's length is less than or equal to 32 chars. A random 4 characters label is attached to the cluster name to reduce chances of collision. The cluster name and the random label are separate by '-'. If the cluster name is longer than 27 characters, only the first 27 characters will be used.
func GetOperatorRoleName ¶
func GetOperatorRoleName(cluster *cmv1.Cluster, missingOperator *cmv1.STSOperator) string
func ValidateAccountRolesManagedPolicies ¶ added in v1.2.12
func ValidateOperatorRolesManagedPolicies ¶ added in v1.2.12
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.