revert: remove override for generate name

Signed-off-by: Miguel Varela Ramos <miguel@cohere.ai>
This commit is contained in:
Miguel Varela Ramos 2024-07-17 17:57:33 +01:00
parent 8d2aac9ac1
commit f357097eb6
No known key found for this signature in database
GPG Key ID: A6E2B8DFE1668FFD

View File

@ -132,7 +132,6 @@ func (s *Solver) checkAndUpdateGatewayHTTPRoute(ctx context.Context, ch *cmacme.
newHTTPRoute := oldHTTPRoute.DeepCopy()
newHTTPRoute.Spec = expectedSpec
newHTTPRoute.Labels = expectedLabels
newHTTPRoute.GenerateName = ""
ret, err = s.GWClient.GatewayV1().HTTPRoutes(newHTTPRoute.Namespace).Update(ctx, newHTTPRoute, metav1.UpdateOptions{})
if err != nil {
return err