I have a local GitLab server exposed its web server and SSH server through Cloudflare Tunnel. I can do all git clone from local with cloudflared installed by using following config in my
Host ssh.example.com ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h
I also have a Kubernetes cluster with cloudflared deployed to expose my k8s services. Now I would like the k8s Pods can SSH into my local GitLab server which is not located at the cluster.
I am thinking if it is possible that I can attach the
~/.ssh/config to the Pod by using the cloudflared deployment in the cluster. If it is possible, how can I modify the ProxyCommand that allowing the application Pods using the cloudflared pods?