Skip to content

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