Skip to content

Commit

Permalink
Add bash instead of console for better code highlight (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Emruz Hossain <[email protected]>
  • Loading branch information
hossainemruz authored Aug 25, 2020
1 parent 5639933 commit 74dc27c
Show file tree
Hide file tree
Showing 68 changed files with 817 additions and 817 deletions.
12 changes: 6 additions & 6 deletions docs/addons/elasticsearch/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can install the addon either as a helm chart or you can create only the YAML

Run the following script to install `stash-elasticsearch` addon as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-elasticsearch
```

Expand All @@ -47,7 +47,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-elasticsearch` addon as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --catalog=stash-elasticsearch
```

Expand All @@ -58,7 +58,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-elasticsearch` addon as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --catalog=stash-elasticsearch
```

Expand All @@ -71,7 +71,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

After installation is completed, this addon will create `elasticsearch-backup-*` and `elasticsearch-restore-*` Functions and Tasks for all supported Elasticsearch versions. To verify, run the following command:

```console
```bash
$ kubectl get functions.stash.appscode.com
NAME AGE
elasticsearch-backup-7.2 20s
Expand All @@ -95,7 +95,7 @@ update-status 7h6m

Also, verify that the `Task` have been created.

```console
```bash
$ kubectl get tasks.stash.appscode.com
NAME AGE
elasticsearch-backup-7.2 2m7s
Expand All @@ -122,7 +122,7 @@ Now, Stash is ready to backup Elasticsearch databases.

In order to install `Function` and `Task` only for a specific Elasticsearch version, use `--version` flag to specify the desired database version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-elasticsearch --version=6.5
```

Expand Down
8 changes: 4 additions & 4 deletions docs/addons/elasticsearch/setup/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In order to uninstall Elasticsearch addon, follow the instruction given below.

Run the following script to uninstall `stash-elasticsearch` addon that was installed as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-elasticsearch
```

Expand All @@ -45,7 +45,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-elasticsearch` addon that was installed as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --uninstall --catalog=stash-elasticsearch
```

Expand All @@ -56,7 +56,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-elasticsearch` addon that was installed as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --uninstall --catalog=stash-elasticsearch
```

Expand All @@ -67,6 +67,6 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

In order to uninstall Elasticsearch addon only for a specific database version, use `--version` flag to specify the desired version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-elasticsearch --version=6.5
```
12 changes: 6 additions & 6 deletions docs/addons/mongodb/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can install the addon either as a helm chart or you can create only the YAML

Run the following script to install `stash-mongodb` addon as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-mongodb
```

Expand All @@ -47,7 +47,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-mongodb` addon as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --catalog=stash-mongodb
```

Expand All @@ -58,7 +58,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-mongodb` addon as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --catalog=stash-mongodb
```

Expand All @@ -71,7 +71,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

After installation is completed, this addon will create `mongodb-backup-*` and `mongodb-restore-*` Functions and Tasks for all supported MongoDB versions. To verify, run the following command:

```console
```bash
$ kubectl get functions.stash.appscode.com
NAME AGE
mongodb-backup-4.1 20s
Expand All @@ -89,7 +89,7 @@ update-status 7h6m

Also, verify that the `Task` have been created.

```console
```bash
$ kubectl get tasks.stash.appscode.com
NAME AGE
mongodb-backup-4.1 2m7s
Expand All @@ -110,7 +110,7 @@ Now, Stash is ready to backup MongoDB databases.

In order to install `Function` and `Task` only for a specific MongoDB version, use `--version` flag to specify the desired database version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-mongodb --version=3.6
```

Expand Down
8 changes: 4 additions & 4 deletions docs/addons/mongodb/setup/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In order to uninstall MongoDB addon, follow the instruction given below.

Run the following script to uninstall `stash-mongodb` addon that was installed as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-mongodb
```

Expand All @@ -45,7 +45,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-mongodb` addon that was installed as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --uninstall --catalog=stash-mongodb
```

Expand All @@ -56,7 +56,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-mongodb` addon that was installed as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --uninstall --catalog=stash-mongodb
```

Expand All @@ -67,6 +67,6 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

In order to uninstall MongoDB addon only for a specific database version, use `--version` flag to specify the desired version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-mongodb --version=3.6
```
12 changes: 6 additions & 6 deletions docs/addons/mysql/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can install the addon either as a helm chart or you can create only the YAML

Run the following script to install `stash-mysql` addon as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-mysql
```

Expand All @@ -47,7 +47,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-mysql` addon as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --catalog=stash-mysql
```

Expand All @@ -58,7 +58,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-mysql` addon as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --catalog=stash-mysql
```

Expand All @@ -71,7 +71,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

After installation is completed, this addon will create `mysql-backup-*` and `mysql-restore-*` Functions and Tasks for all supported MySQL versions. To verify, run the following command:

```console
```bash
$ kubectl get functions.stash.appscode.com
NAME AGE
mysql-backup-8.0.14 20s
Expand All @@ -85,7 +85,7 @@ update-status 7h6m

Also, verify that the `Task` have been created.

```console
```bash
$ kubectl get tasks.stash.appscode.com
NAME AGE
mysql-backup-8.0.14 2m7s
Expand All @@ -102,7 +102,7 @@ Now, Stash is ready to backup MySQL databases.

In order to install `Function` and `Task` only for a specific MySQL version, use `--version` flag to specify the desired database version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-mysql --version=8.0.14
```

Expand Down
8 changes: 4 additions & 4 deletions docs/addons/mysql/setup/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In order to uninstall MySQL addon, follow the instruction given below.

Run the following script to uninstall `stash-mysql` addon that was installed as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-mysql
```

Expand All @@ -45,7 +45,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-mysql` addon that was installed as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --uninstall --catalog=stash-mysql
```

Expand All @@ -56,7 +56,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-mysql` addon that was installed as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --uninstall --catalog=stash-mysql
```

Expand All @@ -67,6 +67,6 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

In order to uninstall MySQL addon only for a specific database version, use `--version` flag to specify the desired version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-mysql --version=8.0.14
```
12 changes: 6 additions & 6 deletions docs/addons/percona-xtradb/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can install the addon either as a helm chart or you can create only the YAML

Run the following script to install `stash-percona-xtradb` addon as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-percona-xtradb
```

Expand All @@ -47,7 +47,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-percona-xtradb` addon as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --catalog=stash-percona-xtradb
```

Expand All @@ -58,7 +58,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to install `stash-percona-xtradb` addon as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --catalog=stash-percona-xtradb
```

Expand All @@ -71,7 +71,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

After installation is completed, this addon will create `percona-xtradb-backup-*` and `percona-xtradb-restore-*` Functions and Tasks for all supported Percona XtraDB versions. To verify, run the following command:

```console
```bash
$ kubectl get functions.stash.appscode.com
NAME AGE
percona-xtradb-backup-5.7 20s
Expand All @@ -83,7 +83,7 @@ update-status 7h6m

Also, verify that the `Task` have been created.

```console
```bash
$ kubectl get tasks.stash.appscode.com
NAME AGE
percona-xtradb-backup-5.7 2m7s
Expand All @@ -98,7 +98,7 @@ Now, Stash is ready to backup Percona XtraDB databases.

In order to install `Function` and `Task` only for a specific Percona XtraDB version, use `--version` flag to specify the desired database version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --catalog=stash-percona-xtradb --version=5.7
```

Expand Down
8 changes: 4 additions & 4 deletions docs/addons/percona-xtradb/setup/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In order to uninstall Percona XtraDB addon, follow the instruction given below.

Run the following script to uninstall `stash-percona-xtradb` addon that was installed as a Helm chart using Helm 3.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-percona-xtradb
```

Expand All @@ -45,7 +45,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-percona-xtradb` addon that was installed as a Helm chart using Helm 2.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm2.sh | bash -s -- --uninstall --catalog=stash-percona-xtradb
```

Expand All @@ -56,7 +56,7 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

Run the following script to uninstall `stash-percona-xtradb` addon that was installed as Kubernetes YAMLs.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/script.sh | bash -s -- --uninstall --catalog=stash-percona-xtradb
```

Expand All @@ -67,6 +67,6 @@ curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/d

In order to uninstall Percona XtraDB addon only for a specific database version, use `--version` flag to specify the desired version.

```console
```bash
curl -fsSL https://github.com/stashed/catalog/raw/{{< param "info.catalog" >}}/deploy/helm3.sh | bash -s -- --uninstall --catalog=stash-percona-xtradb --version=5.7
```
Loading

0 comments on commit 74dc27c

Please sign in to comment.