penyedia kredensial ecr
v1.0.0
| |
Cabang cmd/ecr-credential-provider untuk menyediakan sumber publik yang tersedia untuk pengunduhan biner.
Cobebase akan tetap sinkron dengan repo induk tetapi di sini kami menyediakan biner bangunan untuk beberapa OS dan arch.
Sistem Operasi | Arsitektur | Didukung | Artefak |
---|---|---|---|
Linux | amd64 | ✅ | Unduh |
Linux | lengan64 | ✅ | Unduh |
jendela | amd64 | ✅ | Unduh |
jendela | lengan64 | ✅ | Unduh |
Referensi Dokumen Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/kubelet-credential-provider/
ecr-credential-provider
di tujuan tertentu (/usr/bin/) setelah akhiran OS/Arch: $ wget https://github.com/dntosas/ecr-credential-provider/releases/download/v1.0.0/ecr-credential-provider-linux-amd64
$ mv ecr-credential-provider-linux-amd64 /usr/bin/ecr-credential-provider
apiVersion : kubelet.config.k8s.io/v1
kind : CredentialProviderConfig
providers :
- name : ecr-credential-provider
matchImages :
- " *.dkr.ecr.*.amazonaws.com "
- " *.dkr.ecr.*.amazonaws.com.cn "
- " *.dkr.ecr-fips.*.amazonaws.com "
- " *.dkr.ecr.*.c2s.ic.gov "
- " *.dkr.ecr.*.sc2s.sgov.gov "
- " public.ecr.aws "
defaultCacheDuration : " 12h "
apiVersion : credentialprovider.kubelet.k8s.io/v1
$ kubelet [..]
--image-credential-provider-config='/etc/smth/kubelet-creds.yaml'
--image-credential-provider-bin-dir='/usr/bin'