Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Jul 3, 2024
1 parent 2c18502 commit c0b9ccd
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,32 @@

TODO: make this nice

this repo provides a script to create a local kind cluster with an entire tracetest cloud instance.
while we have this repo private and all the private images, this is just deploying tracetest cloud.
this repo provides a script to create a local kind cluster with an entire Tracetest cloud instance.
while we have this repo private and all the private images, this is just deploying Tracetest cloud.
we need to use a secret so you need to use the create image pull secret script to configure that in the kind cluster.

once everything is public, we can use kind to validate PRs before merging.
this can also become the main helm repo for cloud, since it has a much nicer approach, but we'll see if that works out without needing too much customization

## TLDR

[kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) is requried to run and test this repo
[kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) and [helm](https://helm.sh/docs/intro/install/) are required to run and test this repo

```
helm repo add traefik https://traefik.github.io/charts
helm repo add ory https://k8s.ory.sh/helm/charts
helm repo add jetstack https://charts.jetstack.io
export CURRENT_FOLDER=$PWD
export TT_CHARTS=("tracetest-agent-operator" "tracetest-auth" "tracetest-cloud" "tracetest-core" "tracetest-frontend" "tracetest-onprem" "tracetest-dependencies")
for chart_name in $TT_CHARTS; do
cd $CURRENT_FOLDER/charts/$chart_name
helm dependency build
done
cd $CURRENT_FOLDER
./scripts/setup_kind_cluster.sh --reset --private
sudo sh -c 'echo "127.0.0.1 tracetest.localdev" >> /etc/hosts'
source ./cluster.env
Expand Down

0 comments on commit c0b9ccd

Please sign in to comment.