fix(): switch to post
This commit is contained in:
@@ -61,8 +61,9 @@ func RecreateIPPoolCrd(cfg *Config, name string, ips []string) error {
|
|||||||
return fmt.Errorf("error generating CRD: %v", err.Error())
|
return fmt.Errorf("error generating CRD: %v", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
res := routeclient.Post().
|
res := routeclient.Put().
|
||||||
Resource("ciliumloadbalancerippools").
|
Resource("ciliumloadbalancerippools").
|
||||||
|
Name(name).
|
||||||
Body([]byte(body)).
|
Body([]byte(body)).
|
||||||
Do(context.TODO())
|
Do(context.TODO())
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user