Baoyuantop commented on issue #2705: URL: https://github.com/apache/apisix-ingress-controller/issues/2705#issuecomment-3895067600
The `serviceName` field in ApisixRoute is not designed to support cross-namespace references. This is a known design limitation, not a bug. The ApisixRoute CRD is explicitly designed to prohibit cross-namespace references to Services, adhering to Kubernetes security principles (to prevent privilege escalation). Entering an FQDN in the `serviceName` field constitutes incorrect usage. The controller will treat the entire FQDN string as the Service name and attempt to locate it within the current namespace, inevitably failing. -- 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]
