Skip to content

Commit

Permalink
add default deny test to ingress-and-egress-blocked
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
  • Loading branch information
matthyx committed Oct 14, 2024
1 parent 152bc44 commit ee29962
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: v1
kind: Pod
metadata:
name: test
namespace: my-ns
spec:
containers:
- args:
- server
env:
- name: BASE_HREF
value: /argo/
image: test:latest
name: test
imagePullPolicy: Never
- name : test2
image : test
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny-all
namespace: my-ns
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress

0 comments on commit ee29962

Please sign in to comment.