Support IngressClassName in Policy resources #1570
Labels
enhancement
Pull requests for new features/feature enhancements
proposal
An issue that proposes a feature request
Is your feature request related to a problem? Please describe.
If multiple ICs are running in the cluster and they are not configured to use only a single namespace, they will have access to all Policy resources created in the cluster.
This means it is not possible to assign Policies to different Ingress Controllers, something that Ingress,VirtualServer and TransportServer resources support via
ingressClassName
field -- see https://docs.nginx.com/nginx-ingress-controller/installation/running-multiple-ingress-controllers/#ingress-classAt minimum, this can create confusion if those IC controllers are configured differently for the
-enable-preview-policies
argument: if a policy is in preview, an IC with-enable-preview-policies=false
will report an error in the Policy status and event, but an IC with-enable-preview-policies=true
will report success. (See #1565 )Describe the solution you'd like Support
ingressClassName
field in the Policy resource.Aha! Link: https://nginx.aha.io/features/IC-100
The text was updated successfully, but these errors were encountered: