work in progress

This commit is contained in:
Adrien Reslinger 2020-06-13 00:06:55 +02:00
commit 5f68c259f5
17 changed files with 994 additions and 0 deletions

View file

@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-from-namespaces
namespace: drone
spec:
podSelector: {}
ingress:
- from:
- podSelector: {}
- from:
- namespaceSelector:
matchLabels:
namespace: traefik
podSelector:
matchLabels:
app: traefik
policyTypes:
- Ingress