nwcdheap / kops-cn

AWS中国宁夏区域/北京区域,快速Kops部署K8S集群
Apache License 2.0
121 stars 74 forks source link

Can't pull heptio-images-authenticator #13

Closed sunfuze closed 5 years ago

sunfuze commented 5 years ago

Cant pull 937788672844.dkr.ecr.cn-north-1.amazonaws.com.cn/heptio-images-authenticator:v0.3.0 when running aws-iam-authenticator.

Containers:
  aws-iam-authenticator:
    Container ID:
    Image:         937788672844.dkr.ecr.cn-north-1.amazonaws.com.cn/heptio-images-authenticator:v0.3.0
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Args:
      server
      --config=/etc/aws-iam-authenticator/config.yaml
      --state-dir=/var/aws-iam-authenticator
      --generate-kubeconfig=/etc/kubernetes/aws-iam-authenticator/kubeconfig.yaml

I have seen the image in https://github.com/nwcdlabs/kops-cn/blob/master/mirror/required-images.txt#L32.

sunfuze commented 5 years ago

Error msg: image

pahud commented 5 years ago

Hi

if you can update the image URI, please try

937788672844.dkr.ecr.cn-north-1.amazonaws.com.cn/gcr.io-heptio-images-authenticator:v0.3.0

sunfuze commented 5 years ago

Hi

if you can update the image URI, please try

937788672844.dkr.ecr.cn-north-1.amazonaws.com.cn/gcr.io-heptio-images-authenticator:v0.3.0

Can pull now. By the way, aws-iam-authenicator does not support china region. I made a pr. If anyone want to use aws-iam-authenticator in china region right now, i build an image sunfuze/aws-iam-authenticator:v0.4.0.

pahud commented 5 years ago

@sunfuze Hey, really appreciate your contribution!