ronething commented on code in PR #2702:
URL:
https://github.com/apache/apisix-ingress-controller/pull/2702#discussion_r2684707669
##########
docs/en/latest/reference/ingress-annotation.md:
##########
@@ -288,6 +290,30 @@ spec:
number: 80
```
+### Cross Namespace GatewayProxy Access
+
+The `apisix.apache.org/parameters-namespace` annotation allows you to specify
a custom namespace for GatewayProxy resources referenced by IngressClass. This
is useful when your GatewayProxy resources are in a different namespace than
your IngressClass.
+
+The annotation takes precedence over the `parameters.namespace` field in the
IngressClass spec. If neither is specified, it defaults to the `default`
namespace.
+
+For example:
+
+```yaml
+apiVersion: networking.k8s.io/v1
+kind: IngressClass
+metadata:
+ name: apisix
+ namespace: aic # IngressClass is in aic namespace
Review Comment:
IngressClass is cluster scoped resource.
--
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]