awspermissions

package
v0.9.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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 AWSAnnotations(ctx context.Context, c kclient.Client, app *v1.AppInstance, permissions v1.Permissions, serviceName string) (map[string]string, error)

func GetAWSRoles added in v0.9.0

func GetAWSRoles() []rbacv1.ClusterRole

Types

This section is empty.

Jump to

Keyboard shortcuts

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