web3creator opened a new issue, #2243:
URL: https://github.com/apache/apisix-ingress-controller/issues/2243

   ### Current Behavior
   
   func (m *MarknpClient) CreateApisixRouteIngress(ctx context.Context, 
namespace string, apisixRoute *apisixRouteV2.ApisixRoute) 
(*apisixRouteV2.ApisixRoute, error) {
        client := versioned.New(m.Clientset.RESTClient())
        return client.ApisixV2().ApisixRoutes(namespace).Create(ctx, 
apisixRoute, metav1.CreateOptions{})
   }
   
   
   ### Expected Behavior
   
   。
   
   ### Error Logs
   
   v1.CreateOptions is not suitable for converting to \"meta.k8s.io/v1\" in 
scheme \"pkg/runtime/scheme.go:100\"
   
   ### Steps to Reproduce
   
   ,
   
   ### Environment
   
   我的go,mod 依赖
   require (
        github.com/apache/apisix-ingress-controller v1.8.2
        github.com/gin-gonic/gin v1.9.1
        github.com/swaggo/files v1.0.1
        github.com/swaggo/gin-swagger v1.6.0
        github.com/swaggo/swag v1.16.3
        k8s.io/api v0.30.0
        k8s.io/apimachinery v0.30.0
        k8s.io/client-go v0.30.0
        sigs.k8s.io/gateway-api v1.1.0
   )
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to