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

Add a devcontainer #100

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add a devcontainer #100

wants to merge 5 commits into from

Conversation

scott-cotton
Copy link
Member

This adds a devcontainer, which can be useful as a reference for running the cli within docker and standardising build.

There is also a make devcontainer which builds and places the CLI binary and sets GOARCH. This means the devcontainer build from VSCode won't work unless one runs go build -o .devcontainer/signadot ./cmd/signadot first.

This is somewhat a work in progress. It only works w/ aws and signadot local type "PortForward", I'd like to add

  • support for google cloud
  • support for Minikube
    I think it will work with type "ProxyAddress"

and figure out how to make a devcontainer feature, so it is easy for folks to add signadot to a devcontainer.

But, it may be useful as is.

Thoughts appreciated.

- use features where we can
- mount .signadot and .kube to -localhost variants
- use post-create.sh to install .signadot/config.yaml
- attempt to munge kubeconfig
- install kubectl

doesn't work yet w/ minikube b/c of certs thinking of adding a tcp proxy
from localhost to host.docker.internal for ports in kube-config cluster
servers
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

Successfully merging this pull request may close these issues.

1 participant