AWS Elastic Container Registry (ECR) provides a cost-effective private registry for your Docker containers. However, ECR Docker credentials expire every 12 hours.
The latest images are:
itzmanish/ecr-token-renew:latest
The tool is mainly configured through environment variables. These are:
default
is assumed.DOCKER_REGISTRIES=https://321321.dkr.ecr.us-west-2.amazonaws.com,https://123123.dkr.ecr.us-east-2.amazonaws.com
$ go install github.com/itzmanish/ecr-token-renew@latest
Helm must be installed to use the charts. Please refer to Helm’s documentation to get started.
Once Helm has been set up correctly, add the repo as follows:
helm repo add ecr-token-renew https://itzmanish.github.io/ecr-token-renew
If you had already added this repo earlier, run helm repo update
to retrieve
the latest versions of the packages. You can then run helm search repo
ecr-token-renew
to see the charts.
To install the ecr-token-renew chart:
helm install my-ecr-token-renew ecr-token-renew/chart
To uninstall the chart:
helm uninstall my-ecr-token-renew