roles

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RosaUpgradeAccRolesModeAuto = "ROSAUpgradeAccountRolesModeAuto"
)

Variables

This section is empty.

Functions

func BuildMissingOperatorRoleCommand

func BuildMissingOperatorRoleCommand(
	missingRoles map[string]*cmv1.STSOperator,
	cluster *cmv1.Cluster,
	accountID string,
	r *rosa.Runtime,
	policies map[string]*cmv1.AWSSTSPolicy,
	unifiedPath string,
	operatorRolePolicyPrefix string,
	managedPolicies bool,
) (string, error)

func CreateMissingRoles added in v1.2.12

func CreateMissingRoles(r *rosa.Runtime, missingRolesInCS map[string]*cmv1.STSOperator, cluster *cmv1.Cluster,
	mode string, prefix string, policies map[string]*cmv1.AWSSTSPolicy, unifiedPath string, managedPolicies bool) error

func GetOperatorRoleName

func GetOperatorRoleName(cluster *cmv1.Cluster, missingOperator *cmv1.STSOperator) string

func ValidateAccountRolesManagedPolicies added in v1.2.12

func ValidateAccountRolesManagedPolicies(r *rosa.Runtime, prefix string) error

func ValidateOperatorRolesManagedPolicies added in v1.2.12

func ValidateOperatorRolesManagedPolicies(r *rosa.Runtime, cluster *cmv1.Cluster,
	operatorRoles map[string]*cmv1.STSOperator, policies map[string]*cmv1.AWSSTSPolicy, mode string, prefix string,
	unifiedPath string, upgradeVersion string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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