DrFaust92 / terraform-kubernetes-ebs-csi-driver

Terraform module which creates Kubernetes EBS CSI controller resources on AWS EKS.
https://registry.terraform.io/modules/DrFaust92/ebs-csi-driver/kubernetes/latest
Other
31 stars 26 forks source link

Image does not exists #72

Closed mohanpedala closed 2 years ago

mohanpedala commented 2 years ago

I'm using your module with the latest tag v2.18.1

The deployment fails because the image does not exist.

  Warning  Failed         8m29s                   kubelet            Failed to pull image "k8s.gcr.io/sig-storage:v3.1.0": rpc error: code = Unknown desc = Error response from daemon: manifest for k8s.gcr.io/sig-storage:v3.1.0 not found: manifest unknown: Failed to fetch "v3.1.0" from request "/v2/sig-storage/manifests/v3.1.0".
  Normal   Started        8m28s                   kubelet            Started container liveness-probe
  Normal   Pulled         8m28s                   kubelet            Successfully pulled image "k8s.gcr.io/sig-storage/livenessprobe:v2.4.0" in 1.202254311s
  Normal   Created        8m28s                   kubelet            Created container liveness-probe
  Normal   BackOff        8m26s (x2 over 8m27s)   kubelet            Back-off pulling image "k8s.gcr.io/sig-storage:v3.1.0"
  Warning  Failed         8m26s (x2 over 8m27s)   kubelet            Error: ImagePullBackOff
  Normal   Pulling        8m12s (x2 over 8m29s)   kubelet            Pulling image "k8s.gcr.io/sig-storage:v3.1.0"
  Warning  Failed         8m12s (x4 over 8m29s)   kubelet            Error: InvalidImageName
  Warning  Failed         8m12s (x2 over 8m29s)   kubelet            Error: ErrImagePull
  Warning  InspectFailed  3m24s (x25 over 8m29s)  kubelet            Failed to apply default image tag "k8s.gcr.io/sig-storage/:v2.1.1": couldn't parse image reference "k8s.gcr.io/sig-storage/:v2.1.1": invalid reference format

It looks like the image name should be something like this

k8s.gcr.io/sig-storage/csi-attacher:v3.1.0
DrFaust92 commented 2 years ago

Please try latest version

mohanpedala commented 2 years ago

Thanks for the fix