• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Log Collection
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • Logging - Sprint 276

      Create an internal/runtime factory to generate a NP object based upon the metadata from the ClusterLogForwarder.

      Example:

      apiVersion: networking.k8s.io/v1
      kind: NetworkPolicy
      metadata:
       labels:
         app.kubernetes.io/name: vector
         app.kubernetes.io/instance: mine
         app.kubernetes.io/managed-by: cluster-logging-operator
         app.kubernetes.io/part-of: cluster-logging
         app.kubernetes.io/component: collector
       name: mine
       namespace: openshift-logging
      spec:
       podSelector:
         matchLabels:
           app.kubernetes.io/instance: mine
           app.kubernetes.io/managed-by: cluster-logging-operator
           app.kubernetes.io/part-of: cluster-logging
           app.kubernetes.io/component: collector
       policyTypes:
         - Ingress
         - Egress
       egress:
       - {}    #allow all   
       ingress:
       - {}    #allow all
      

              rh-ee-calee Calvin Lee
              jcantril@redhat.com Jeffrey Cantrill
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: