mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-27 18:30:24 +00:00
17 lines
No EOL
307 B
YAML
17 lines
No EOL
307 B
YAML
kind: NetworkPolicy
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: allow-internet-only
|
|
namespace: pihole
|
|
spec:
|
|
podSelector: {}
|
|
policyTypes:
|
|
- Ingress
|
|
ingress:
|
|
- from:
|
|
- ipBlock:
|
|
cidr: 0.0.0.0/0
|
|
except:
|
|
- 10.0.0.0/8
|
|
- 192.168.0.0/16
|
|
- 172.16.0.0/20 |