irsafargate

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package irsafargate implements tester for "IAM Roles for Service Accounts (IRSA)" Pod with Fargate.

Index

Constants

View Source
const TemplateConfigMap = `` /* 1404-byte string literal not displayed */

TemplateConfigMap is the IRSA Fargate config map.

View Source
const TemplatePodScript = `printf '\n\nexecuting...\n\n'; /opt/{{ .ConfigMapScriptFileName }};`

TemplatePodScript is the script to run in Deployment.

View Source
const TemplateRole = `` /* 2077-byte string literal not displayed */

TemplateRole is the CloudFormation template for EKS IRSA Fargate role.

Variables

This section is empty.

Functions

func New

func New(cfg Config) eks_tester.Tester

New creates a new Job tester.

Types

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
	S3API     s3iface.S3API
	CFNAPI    cloudformationiface.CloudFormationAPI
	EKSAPI    eksiface.EKSAPI
	IAMAPI    iamiface.IAMAPI
	ECRAPI    ecriface.ECRAPI
}

Config defines "IAM Roles for Service Accounts (IRSA)" for Fargate configuration. ref. https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/

Jump to

Keyboard shortcuts

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