Back to

Package irsa

Latest Go to latest

The latest major version is .

Published: 2 days ago | License: Apache-2.0 | Module:


Package irsa implements tester for IAM Roles for Service Accounts (IRSA).



const TemplateConfigMap = "" /* 1384 byte string literal not displayed */

TemplateConfigMap is the IRSA config map. Do not download to the same file paths. e.g. download failed: s3://aws-k8s-tester-eks-s3-bucket/eks-2020062621-misty8up27dz/irsa-s3-key to var/log/output-configmap.log [Errno 16] Device or resource busy: '/var/log/output-configmap.log.75Caa245' -> '/var/log/output-configmap.log' ${HOSTNAME} is same as Pod name, writes "/var/log/[POD_NAME].s3.output"

const TemplateDeploymentScript = `printf '\n\nexecuting...\n\n'; /opt/{{ .ConfigMapScriptFileName }};`

TemplateDeploymentScript is the script to run in Deployment.

const TemplateRole = "" /* 1486 byte string literal not displayed */

TemplateRole is the CloudFormation template for EKS IRSA role.

func New

func New(cfg Config) eks_tester.Tester

New creates a new Job tester.

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
	IAMAPI    iamiface.IAMAPI
	ECRAPI    ecriface.ECRAPI

Config defines "IAM Roles for Service Accounts (IRSA)" configuration. ref.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier