Note
This project was needed primarily for updating the ECR secret/password inside a k8s
container via a CronJob
for multi-arch systems
this is basically a multi-arch updated "fork" from ๐ https://github.com/bearengineer/awscli-kubectl
- built on:
alpine
3.1.7
aws cli v2
kubectl
helm
3.0.0
k9s
kubeseal
docker compose build --no-cache
docker buildx build --push \
--platform linux/amd64,linux/arm64 \
--tag aws_cli_v2-kubectl .
docker buildx build --push --platform linux/amd64,linux/arm64 --tag aws_cli_v2-kubectl .
docker compose up
docker compose exec awscli-kubectl sh
https://github.com/michael-riha/aws_cli_v2-kubectl -> https://hub.docker.com/repository/docker/miriha/aws_cli_v2-kubectl/general
aws configure list
aws ecr get-login-password
aws eks update-kubeconfig --region region-code --name my-cluster
e.g.
aws eks update-kubeconfig --region us-west-2 --name company-aio-dev