Skip to content

Commit 676aa00

Browse files
committed
add network policy in base test manifests
Signed-off-by: Harshvir Potpose <[email protected]>
1 parent a9fd571 commit 676aa00

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: NetworkPolicy
3+
metadata:
4+
name: default-allow-same-namespace
5+
namespace: kubeflow
6+
spec:
7+
podSelector: {}
8+
ingress:
9+
- from:
10+
- podSelector: {}
11+
policyTypes:
12+
- Ingress

.github/resources/manifests/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ kind: Kustomization
33

44
resources:
55
- dns-config.yaml
6+
- allow-same-namespace-networkpolicy.yaml
67

78
namespace: kubeflow

0 commit comments

Comments
 (0)