Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Document SKIP_MODULES (#63)
Browse files Browse the repository at this point in the history
* Document SKIP_MODULES

* Helm status error handling
  • Loading branch information
pbochynski authored Feb 1, 2021
1 parent a36f81f commit e437cfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd local-kyma

Download kyma charts to resources subfolder:
```
./download-kyma-charts.sh
./download-kyma-charts.sh
```

Start k3s cluster and Kyma:
Expand Down Expand Up @@ -150,7 +150,10 @@ Installation may fail, as the script is simple and doesn't have any retries impl
---
## Can I pick modules to install?

Yes, just edit kyma-k3d.sh script and remove modules you don't need.
Yes, just edit kyma-k3d.sh script and remove modules you don't need. You can also set the environment variable `SKIP_MODULES` with comma separated list of kyma components that should not be installed. Example:
```
export SKIP_MODULES=monitoring,tracing,kiali,logging
```

---
## Why kyma-installer is scaled down to 0 replicas?
Expand Down
2 changes: 1 addition & 1 deletion install-kyma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function helm_install() {
while [ $retries -ge 0 ]
do
((retries--))
status=$(helm status $release -n $namespace -ojson | jq -r ".info.status") >/dev/null
status=$(helm status $release -n $namespace -ojson 2>/dev/null | jq -r ".info.status" 2>/dev/null) >/dev/null 2>&1
if [[ "$status" == "deployed" ]];
then
break
Expand Down

0 comments on commit e437cfe

Please sign in to comment.