This commit is contained in:
@ -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:
|
The following command allows you to download and install all the charts from our repository:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ helm repo add hahow https://hahow-helm-charts.storage.googleapis.com/
|
$ helm repo add hahow https://harbor.grachevko.ru/chartrepo/helm
|
||||||
```
|
```
|
||||||
|
|
||||||
### Adding Dependency
|
### Adding Dependency
|
||||||
@ -51,7 +51,7 @@ To use the library chart, `common` should be listed in `dependencies` field in y
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 0.4.1
|
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:
|
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:
|
You can fetch that script, and then execute it locally:
|
||||||
|
|
||||||
```shell
|
```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
|
$ chmod 700 create.sh
|
||||||
$ ./create.sh mychart
|
$ ./create.sh mychart
|
||||||
```
|
```
|
||||||
@ -75,7 +75,7 @@ $ ./create.sh mychart
|
|||||||
or simply
|
or simply
|
||||||
|
|
||||||
```shell
|
```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.
|
Now, there is a chart in `./mychart`. You can edit it and create your own templates.
|
||||||
|
@ -9,7 +9,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir "$1"
|
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
|
tar -xz -C "$1" --strip=2 common-chart-master/starter
|
||||||
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g"
|
find "$1" -type f | xargs sed -i "" "s/<CHARTNAME>/$1/g"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user