roura/aws-ecr-k8s

By roura

Updated about 6 years ago

Image
0

400

roura/aws-ecr-k8s repository overview

aws-ecr-k8s

This Docker/OCI Image is made to keep fresh AWS ECR credentials in any given k8s cluster.

Environment Variables

You'll need to feed the following ones:

  • AWS_DEFAULT_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

CronJob

A good idea would be to run this as a CronJob with a Service Account that can edit and delete secrets, as the resulting container will connect to the Kubernetes API and update the Docker Registry private credentials by using a secret called aws-registry.

Debugging

The console output is very verbose, so just open the logs from the pod and check how everything is going.

Tag summary

Content type

Image

Digest

Size

49.9 MB

Last updated

about 6 years ago

docker pull roura/aws-ecr-k8s