by ronnier · 1y ago · 0 comments
I do this for most containers.
If the container must have web access in some form, setup a squid proxy and only whitelist safe and trusted domains that can't be exfilled to.
Can you please point to some resources that can help with how to do this?
https://kubernetes.io/docs/concepts/services-networking/netw...
Edit: Did some research and found that Calico has a feature for some kind of DNS filtering
https://www.tigera.io/blog/how-to-secure-kubernetes-workload...
Hardcoding an IP won't help if the network policy disallows all network access.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...
https://www.heise.de/en/news/Password-manager-BSI-reports-cr...