Squid from source
docker-compose build
mkdir ssl_cert
openssl req -newkey rsa:2048 -x509 -sha256 -days 365 -nodes -out ssl_cert/tls.crt -keyout ssl_cert/tls.key
openssl dhparam -out confs/dhparams.pem 2048
kubectl create configmap squid.config --from-file=confs
kubectl create configmap squid.acls --from-file=acls
kubectl create secret tls squid.tls --cert=ssl_cert/tls.crt --key=ssl_cert/tls.key
kubectl apply -f kubernetes/squid.yml
kubectl delete -f kubernetes/squid.yml
curl -v -k --proxy http://127.0.0.1:3128 --proxy-cacert tls.crt https://www.google.com