Documentation ¶
Index ¶
Constants ¶
View Source
const ( AWSAPIGroup = "aws.acorn.io" AWSRoleAPIGroup = "role.aws.acorn.io" AWSRoleHash = "role.aws.acorn.io/hash" AssumeVerb = "assume" AssumeRoleAnnotation = "eks.amazonaws.com/role-arn" AWSAdminRole = "acorn:aws:admin" )
Variables ¶
View Source
var ( AWSRoles = map[string][]rbacv1.PolicyRule{ AWSAdminRole: { { APIGroups: []string{AWSAPIGroup, AWSRoleAPIGroup}, Verbs: []string{"*"}, Resources: []string{"*"}, }, }, } )
Functions ¶
func AWSAnnotations ¶
func GetAWSRoles ¶ added in v0.9.0
func GetAWSRoles() []rbacv1.ClusterRole
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.