aws / eks-charts

Amazon EKS Helm chart repository
Apache License 2.0
1.18k stars 935 forks source link

Updating load-balancer-controller CRDs is failing to find the repository #1033

Open robert-hunter-nes opened 8 months ago

robert-hunter-nes commented 8 months ago

Describe the bug Running the command to update the CRDs is returning an error saying that it can't find the repository.

I was using the command here.

Steps to reproduce The command I am running and the results are below

$ kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=v0.0.154"
error: failed to run '/opt/homebrew/bin/git fetch --depth=1 https://github.com/aws/eks-charts/stable/aws-load-balancer-controller v0.0.154': remote: Not Found
fatal: repository 'https://github.com/aws/eks-charts/stable/aws-load-balancer-controller/' not found
: exit status 128

Expected outcome The charts should update successfully.

Environment

Additional Context: This has worked before and stopped working on Wednesday morning (29/11).

robert-hunter-nes commented 8 months ago

Just realised it seems to be because of the extra forward slash before "crds" in the address, the below works OK.

$ kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller/crds?ref=v0.0.154"