-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2242e9e
commit 97839a6
Showing
1 changed file
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
time { | ||
echo "Add helm repositories" | ||
echo "" | ||
echo "Add helm repositories" | ||
echo "" | ||
|
||
helm repo add traefik https://traefik.github.io/charts --force-update | ||
helm repo add ory https://k8s.ory.sh/helm/charts --force-update | ||
helm repo add jetstack https://charts.jetstack.io --force-update | ||
helm repo add nats https://nats-io.github.io/k8s/helm/charts/ --force-update | ||
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update | ||
helm repo add traefik https://traefik.github.io/charts --force-update | ||
helm repo add ory https://k8s.ory.sh/helm/charts --force-update | ||
helm repo add jetstack https://charts.jetstack.io --force-update | ||
helm repo add nats https://nats-io.github.io/k8s/helm/charts/ --force-update | ||
helm repo add opentelemetry https://open-telemetry.github.io/opentelemetry-helm-charts --force-update | ||
|
||
PROJECT_ROOT=$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)") | ||
PROJECT_ROOT=$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)") | ||
|
||
for chart_dir in $PROJECT_ROOT/charts/*; do | ||
printf "\n\e[42m\e[1mClear dependencies for $(basename "$chart_dir")\e[0m\e[0m\n" | ||
rm "$chart_dir/charts/*" | ||
for chart_dir in $PROJECT_ROOT/charts/*; do | ||
printf "\n\e[42m\e[1mClear dependencies for $(basename "$chart_dir")\e[0m\e[0m\n" | ||
rm "$chart_dir/charts/*" | ||
|
||
printf "\n\e[42m\e[1mBuilding dependencies for $(basename "$chart_dir")\e[0m\e[0m\n" | ||
helm dependency update "$chart_dir" | ||
done | ||
} | ||
printf "\n\e[42m\e[1mBuilding dependencies for $(basename "$chart_dir")\e[0m\e[0m\n" | ||
helm dependency update "$chart_dir" | ||
done |