-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support tailnet for cb uri
, cb psql
#171
Comments
Hey @nickstenning I've shared this with the team for discussion. Thanks for the feedback. |
Hey Adam! I'm curious to know if this is something you've discussed further? It's still something that I think of a few times a week. |
Hey Nick. Yes, it's been/being discussed, but I've not had a chance to followup with it here just yet. It's definitely on the radar though. I started digging into a little bit and have a lot of notes on how we can potentially handle this as it requires directly communicating with the local Tailscale client service (tailscaled). And I've discussed/shared those notes on how we can best approach this with other engineers. But this presents an interesting question, should Regardless, my understanding is that we might be able to provide a temporary solution to override the connection URL that That's obviously not the best UX, especially if it required you changing up how you use the CLI twice. But it might be an interim solution to help your workflow while we work on a more appropriate option/flow for it. In my view, the less calls I know this doesn't answer or resolve your question/issue at this time. But it's not going ignored and will hopefully be addressed sooner than later. |
I don't think my opinion here is worth much, not knowing the details of your infrastructure, but I had certainly been assuming it would be the latter, too.
Right. That is effectively what I've been doing locally, with the rather awkward Thanks for continuing to think about it :) |
@nickstenning, I was thinking a little more about it this morning, I'm curious, would something like the following work for you?
The thought being that I could at least abstract away the need to do the If that seems like it would work for you, then I'll run it by some others internally to ensure it will work for their use cases as well. Thoughts? |
That was pretty much exactly what I was thinking, so it would definitely work for me! |
Sounds good. I'll see if I can expedite this one for you and get out a release sooner than later. 👍 |
One quality of life improvement I'd greatly appreciate is if
cb uri
andcb psql
were able to (respectively) return a database URI for access over the tailnet, or connect directly over the tailnet.I don't know how easy it is to get that information, or whether it would be possible to expose the tailnet addresses at -- for example --
t.<clusterid>.db.postgresbridge.com
, but at the moment we have a bunch of scripts thatsed
the output ofcb uri
and it would be lovely to not have to do that.The text was updated successfully, but these errors were encountered: