From 5f0206a49d40cd188fd3da78c0ef213bf3821cae Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Wed, 1 Mar 2023 18:19:22 +0300 Subject: [PATCH] chore: change urls --- README.md | 8 ++++---- create.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f8204d0..607fc33 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ It provides utilities that reflect best practices of Kubernetes chart developmen The following command allows you to download and install all the charts from our repository: ```shell -$ helm repo add hahow https://hahow-helm-charts.storage.googleapis.com/ +$ helm repo add hahow https://harbor.grachevko.ru/chartrepo/helm ``` ### Adding Dependency @@ -51,7 +51,7 @@ To use the library chart, `common` should be listed in `dependencies` field in y dependencies: - name: common version: 0.4.1 - repository: https://hahow-helm-charts.storage.googleapis.com/ + repository: https://harbor.grachevko.ru/chartrepo/helm ``` Once you have defined dependencies, you should run the following command to download this chart into your `charts/` directory: @@ -67,7 +67,7 @@ The best way to get started is to use the [`create` script](create.sh) to genera You can fetch that script, and then execute it locally: ```shell -$ curl -fsSL -o create.sh https://raw.githubusercontent.com/hahow/common-chart/master/create.sh +$ curl -fsSL -o create.sh https://git.grachevko.ru/helm/common/raw/branch/master/create.sh $ chmod 700 create.sh $ ./create.sh mychart ``` @@ -75,7 +75,7 @@ $ ./create.sh mychart or simply ```shell -$ curl https://raw.githubusercontent.com/hahow/common-chart/master/create.sh | bash -s -- mychart +$ curl https://git.grachevko.ru/helm/common/raw/branch/master/create.sh | bash -s -- mychart ``` Now, there is a chart in `./mychart`. You can edit it and create your own templates. diff --git a/create.sh b/create.sh index df28493..bcbac15 100755 --- a/create.sh +++ b/create.sh @@ -9,7 +9,7 @@ then fi mkdir "$1" -curl --proto '=https' --tlsv1.2 -sSf https://codeload.github.com/hahow/common-chart/tar.gz/master | \ +curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \ tar -xz -C "$1" --strip=2 common-chart-master/starter find "$1" -type f | xargs sed -i "" "s//$1/g"