Describe the feature you'd like
Hello! Here to suggest adding --pidfile to cloudflared access.
Currently working version:
version: '3'
tasks:
env:
cmds:
- cloudflared access tcp --hostname https://api.example.com --url 127.0.0.1:12345 &
- defer: kill -15 $(pgrep -fl cloudflared | grep '127.0.0.1:12345' | cut -d' ' -f1)
- HTTPS_PROXY=socks5://127.0.0.1:12345 "${SHELL}" # kubectl now works with the API
Oh boy if this would be possible:
version: '3'
tasks:
env:
cmds:
- cloudflared access tcp --pidfile .cloudflared.pid --hostname https://api.example.com --url 127.0.0.1:12345 &
- defer: pkill -F .cloudflared.pid
- HTTPS_PROXY=socks5://127.0.0.1:12345 "${SHELL}" # kubectl now works with the API
I have found myself using the socks tunnels for quite many things now (Hashicorp Vault access for CI, kube API etc). This would make supporting scripts so much cleaner.
Thanks.
Describe the feature you'd like
Hello! Here to suggest adding --pidfile to
cloudflared access.Currently working version:
Oh boy if this would be possible:
I have found myself using the socks tunnels for quite many things now (Hashicorp Vault access for CI, kube API etc). This would make supporting scripts so much cleaner.
Thanks.