k8s/check/network-policy-wut.yaml
root 1eaf295724
Some checks failed
continuous-integration/drone/push Build is failing
new way of doin
2023-11-16 19:42:02 +10:00

17 lines
330 B
YAML

apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
#description: "Allow to access backends only on TCP/80"
metadata:
name: "frontend-backend"
spec:
endpointSelector:
matchLabels:
namespace: longhorn-system
ingress:
- toPorts:
- ports:
- port: '80'
protocol: TCP
- fromCIDR:
- 0.0.0.0/0