Configuring your Kubernetes Network policy ingress from public IPs address for port '22' can allow anonymous/malicious outside traffic to make SSH with the workload running inside your cluster.
To ensure outside malicious traffic is not allowed to create SSH connections inside your Kubernetes cluster, then configure your Kubernetes Network policy for port '22' to allow from pods internally.