Skip to content

Instantly share code, notes, and snippets.

@myugan
Created February 7, 2021 14:51
Show Gist options
  • Save myugan/7804a7bc189491de93e782e11d9175a7 to your computer and use it in GitHub Desktop.
Save myugan/7804a7bc189491de93e782e11d9175a7 to your computer and use it in GitHub Desktop.

Revisions

  1. myugan created this gist Feb 7, 2021.
    8 changes: 8 additions & 0 deletions default-deny-ingress.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    apiVersion: networking.k8s.io/v1
    kind: NetworkPolicy
    metadata:
    name: default-deny-ingress
    spec:
    podSelector: {}
    policyTypes:
    - Ingress