diff --git a/internal/k8s.go b/internal/k8s.go index e9a53e6..4740d87 100644 --- a/internal/k8s.go +++ b/internal/k8s.go @@ -61,8 +61,9 @@ func RecreateIPPoolCrd(cfg *Config, name string, ips []string) error { return fmt.Errorf("error generating CRD: %v", err.Error()) } - res := routeclient.Post(). + res := routeclient.Put(). Resource("ciliumloadbalancerippools"). + Name(name). Body([]byte(body)). Do(context.TODO())