项目作者: roura356a

项目描述 :
Docker/OCI Image to keep AWS ECR Credentials fresh on any k8s cluster
高级语言: Shell
项目地址: git://github.com/roura356a/aws-ecr-k8s.git
创建时间: 2020-03-24T04:45:45Z
项目社区:https://github.com/roura356a/aws-ecr-k8s

开源协议:

下载


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.