Skip to content
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

[new feature] fully support signadot local connect inside Docker #51

Open
scott-cotton opened this issue Mar 28, 2024 · 1 comment
Open

Comments

@scott-cotton
Copy link
Member

New feature or functionality
What would you like Signadot to do?
running signadot local connect inside docker should work.

Additional considerations
Anything in particular to think about regarding this new feature?

@scott-cotton
Copy link
Member Author

the signadot-cli docker image only contains the cli itself. It does not contain sudo and it does not contain what is necessary to connect locally via portforward for many k8s providers (for example was eks auth support). This is because we did not initially target running signadot local inside of docker as an intended use case. But, you can build an image which contains sudo and base relevant tools:

FROM signadot/signadot-cli as cli
FROM ubuntu
COPY --from=cli /signadot /usr/bin/signadot
RUN apt-get update
RUN apt-get install sudo -y
RUN apt-get install iptables -y
RUN apt-get install ca-certificates -y

and use the ControlPlaneProxy or ProxyAddress connection methods.

The PortForward connection method (the default) is harder to set up, because it often depends on other auth mechanisms which need to be in the image as well, and those mechanisms vary from k8s provider to k8s provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant