Update NetworkPolicies
This commit is contained in:
parent
ad172d6194
commit
17e9b93e7a
3 changed files with 4 additions and 4 deletions
19
files/NetworkPolicies/allow-from-namespace.yaml
Normal file
19
files/NetworkPolicies/allow-from-namespace.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-from-namespaces
|
||||
namespace: kubernetes-dashboard
|
||||
spec:
|
||||
podSelector: {}
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector: {}
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
namespace: tools
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: traefik
|
||||
policyTypes:
|
||||
- Ingress
|
||||
Loading…
Add table
Add a link
Reference in a new issue