mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Add hostaccess networkpolicy to enable icmp
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user