updated network-policy base k8s no namespace

This commit is contained in:
syifa 2025-11-19 02:20:51 +00:00
parent c8cb24900f
commit d644188da7
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-frontend-to-backend
namespace: intern-workspace
#namespace: intern-workspace
spec:
podSelector:
matchLabels:
@ -22,7 +22,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-backend-to-mysql
namespace: intern-workspace
#namespace: intern-workspace
spec:
podSelector:
matchLabels:
@ -51,7 +51,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-backend-egress
namespace: intern-workspace
#namespace: intern-workspace
spec:
podSelector:
matchLabels:
@ -78,7 +78,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-frontend-egress
namespace: intern-workspace
#namespace: intern-workspace
spec:
podSelector:
matchLabels: