The Docker Image contains the aws-cli and kubectl. It is used to update the AWS ECR credentials periodically in a kubernetes cluster.
Run and answer all prompts:
./aws.sh
or provide the values like this:
AWS_ACCESS_KEY_ID=KEY AWS_SECRET_ACCESS_KEY=KEY AWS_REGION=eu-central-1 AWS_ACCOUNT=ID NAMESPACES='prod test' ./aws.sh
Afterwards you should be able to see the cron job with:
kubectl get cronjobs
This is based on the work of @xynova and Mike Petersen [email protected].
Content type
Image
Digest
Size
67 MB
Last updated
over 6 years ago
docker pull yndconsult/aws-kubectl