Skip to content

teochenglim/helm-kubectl-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

helm-kubectl-aws

  1. helm + kubectl + awscli docker helper

    $ docker run -it \
        -e AWS_ACCESS_KEY_ID="[YOUR_AWS_ACCESS_KEY_ID]" \
        -e AWS_SECRET_ACCESS_KEY="[YOUR_AWS_SECRET_ACCESS_KEY]" \
        -e AWS_DEFAULT_REGION="[YOUR_AWS_DEFAULT_REGION]" \
        teochenglim/helm-kubectl-aws bash
    
    ## ECR Login
    
    $ $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
    
  2. For ECR container scanning

    https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html

    ## Creating a New Repository to Scan on Push
    aws ecr create-repository --repository-name name \
        --image-scanning-configuration scanOnPush=true --region us-east-2
    ## Configure an Existing Repository to Scan on Push
    aws ecr put-image-scanning-configuration --repository-name name \
        --image-scanning-configuration scanOnPush=true --region us-east-2
    ## Manually Scanning an Image
    aws ecr start-image-scan --repository-name name --image-id \
        imageTag=tag_name --region us-east-2
    ## Retrieving Scan Findings
    aws ecr describe-image-scan-findings --repository-name name \
        --image-id imageTag=tag_name --region us-east-2
    
  3. FAQ

About

helm + kubectl + awscli docker helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages