-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
1. Proposed title of this feature request
Adding the use of regular expression based selector in ANP/BANP resources to select a set of namespace for spec.subject field.
2. What is the nature and description of the request?
The customer need to apply the ingress/egress rules defined in ANP/BANP to a set of namespaces. They want to exclude all these namespace openshift-* and kube-* from the ANP/BANP resource spec.subject definition.
3. Why does the customer need this? (List the business requirements here)
Currently, the customer is excluding these namespaces (openshift-* and kube-*) by listing all the namespaces name in spec.subject.namespaces.matchExpressions.values
spec:
subject:
namespaces:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: NotIn
values:
- {list of all project starting with openshift-* and kube-*}
4. List any affected packages or components.