kyma-project / hydroform

Infrastructure SDK for provisioning and managing Kubernetes cluster based on Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel Installation: Sources download

clebs opened this issue · comments

Description
The parallel installation requires the charts of all kyma components to be downloaded to a local storage to be able to install them into a cluster.

Add an API that allows to download the Kyma sources with a the following configuration:

  • Destination folder: maybe support network storage in the future, for not local path only.
  • Kyma version: support semVer, commit ID and PRs.
  • Extra non-kyma components: To Be Decided.

Reasons
The parallel installation lib does not work without the sources and currently clients need to take care of downloading them (e.g. the Kyma CLI).

Attachments
The CLI already implements this in a very useful way using go-git. Please take advantage of it:
https://github.com/kyma-project/cli/blob/e50cb3c07d41cf4ccfcb4f8b14b964a95d32385f/pkg/git/git.go