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