aws / eks-charts

Amazon EKS Helm chart repository
Apache License 2.0
1.19k stars 950 forks source link

Can't install TargetGroupBinding CRDs with k8s 1.28 #994

Open mhenson1 opened 1 year ago

mhenson1 commented 1 year ago

Describe the bug I tried installing the TargetGroupBinding CRDs today, per the aws-load-balancer-controller instructions seen here

Install the TargetGroupBinding CRDs kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"

but I get this error error: failed to run '/usr/bin/git fetch --depth=1 https://github.com/aws/eks-charts/stable/aws-load-balancer-controller master': fatal: repository 'https://github.com/aws/eks-charts/stable/aws-load-balancer-controller/' not found

Steps to reproduce Run this command kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"

Expected outcome The CRDs to be created in my cluster.

Environment

mhenson1 commented 1 year ago

I edited the title because I did some more testing. I put k8s 1.26 on my machine and was able to run the command successfully, but after updating to 1.28 I started getting the "failed to run" error.

mhenson1 commented 1 year ago

As a workaround, I've adjusted our automation to do this

wget https://raw.githubusercontent.com/aws/eks-charts/master/stable/aws-load-balancer-controller/crds/crds.yaml kubectl apply -f crds.yaml

kasvith commented 11 months ago

im getting the same error