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

Install of supporting tools also setups minikube #292

Open
mlieberman85 opened this issue Aug 4, 2022 · 4 comments
Open

Install of supporting tools also setups minikube #292

mlieberman85 opened this issue Aug 4, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@mlieberman85
Copy link
Contributor

00-setup-minikube.sh installs the support tools like jq along with installing minikube and setting it up. This means if someone has an external cluster they still need to set up a local minikube if using the install scripts.

@mlieberman85 mlieberman85 added the bug Something isn't working label Aug 4, 2022
@sudo-bmitch
Copy link
Contributor

Are you looking to separate the other prerequisites out in a separate script, or make the minikube setup only happen when kubectl cannot connect to a manager node?

@mlieberman85
Copy link
Contributor Author

Ideally, I would love to figure out some way to do this like some other projects. e.g.

  1. Dev tools install (installs minikube but doesn't set it up)
  2. Dev FRSCA install (i.e. minikube)
  3. Non-local FRSCA install

I separate 2 and 3 here because as we are developing out FRSCA there's inevitably options we're keeping simple for a Dev install but probably want to allow lots of options to tweak on a non-local install.

@sudo-bmitch
Copy link
Contributor

Restructuring the scripts could look like:

  1. Install prereqs (we document these, useful for CI and quickstarts, but most will skip)
  2. Create dev k8s cluster (using minikube, skipped by anyone with their own cluster in the cloud)
  3. Deploy enterprise assumptions (registry, Git, Spire, Vault)
  4. Deploy FRSCA (admission controller, tekton, chains, tasks, pipelines, and integration with external tooling)

If 3 is skipped, we'll need a way to inject a lot of configuration into 4, or leave that up to an exercise for the user. But I do like the idea of separating out those assumptions to make it clear what organizations should provide outside of the FRSCA cluster.

@mlieberman85
Copy link
Contributor Author

Yep. Might be worthwhile to talk through some of this in #frsca slack room and maybe a call. I think there are some quick things we can do now while figuring out some of the other things. e.g. create a container or flatpak or something for the dev tools like cosign. Installing to folks' /usr/local/bin is potentially bad if folks already have tools. Would love something like a chroot or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants