How to access database via Teleport in Github actions #47188
-
Hey, my goal is to have tests on github access our database in k8s I've followed this guide hoping to set this up on github: I'm using this github workflow:
On running the proxy I get this error message:
Other db commands react similarly. Is there an example somewhere how to do a proxy tunnel from github? Edit: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think your issue is that you've missed - name: list files
- run: tsh proxy db --port 12345 --tunnel
+ run: tsh proxy db --port 12345 --tunnel postgres |
Beta Was this translation helpful? Give feedback.
I think your issue is that you've missed
postgres
from your final "list files"tsh
invocation: