work in progress
This commit is contained in:
commit
5f68c259f5
17 changed files with 994 additions and 0 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: drone
|
||||
spec:
|
||||
podSelector: {}
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector: {}
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
namespace: traefik
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: traefik
|
||||
policyTypes:
|
||||
- Ingress
|
||||
Loading…
Add table
Add a link
Reference in a new issue