Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8398

Adding the use of regular expression based selector in ANP/BANP resources

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Network - Core
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • 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.

              mcurry@redhat.com Marc Curry
              rhn-support-akumawat Akshit Kumawat
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                None
                None