Update NetworkPolicies

This commit is contained in:
Adrien Reslinger 2020-05-06 11:09:23 +02:00
parent ad172d6194
commit 17e9b93e7a
3 changed files with 4 additions and 4 deletions

View 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