Skip to content

Kubernetes: global network policy allows any egress #1226

@YuryHrytsuk

Description

@YuryHrytsuk
$ kubectl get globalnetworkpolicy -o yaml
...
    egress:
    - action: Allow
      destination:
        ports:
        - 53
        selector: k8s-app == "kube-dns"
      protocol: UDP
      source: {}
    - action: Allow
      destination: {}
      protocol: UDP
      source: {}
    - action: Allow
      destination:
        ports:
        - 53
        selector: k8s-app == "kube-dns"
      protocol: TCP
      source: {}
    - action: Allow
      destination: {}
      protocol: TCP
      source: {}
...

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions