Add hostaccess networkpolicy to enable icmp

This commit is contained in:
2023-11-17 15:47:28 +01:00
parent 775ca487bf
commit d2887eeda2
@@ -0,0 +1,31 @@
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: host-access
spec:
nodeSelector:
matchLabels: { }
ingress:
- fromEntities:
- world
toPorts:
- ports:
- port: '22'
protocol: TCP
- fromEntities:
- world
icmps:
- fields:
- type: 8
family: IPv4
- type: 8
family: IPv6
egress:
- toEntities:
- world
icmps:
- fields:
- type: 8
family: IPv4
- type: 8
family: IPv6