Skip to content

Commit

Permalink
Merge pull request #367 from rylzxc/challenger-relayer-docs
Browse files Browse the repository at this point in the history
add docs for gnfd-challenger and relayer
  • Loading branch information
unclezoro authored Jul 26, 2023
2 parents 2733208 + 0c32135 commit 25e642b
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
50 changes: 50 additions & 0 deletions deployment/helm/challenger-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
Helm Chart Deployment for Greenfield Challenger

## Deployment

These are the steps to deploy the greenfield challenger application using Helm Chart V3.

We run these commands first to get the chart and test the installation.

```console
helm repo add bnb-chain https://chart.bnbchain.world/
helm repo update
helm show values bnb-chain/gnfd-challenger-testnet-values > testnet-challenger-values.yaml
helm install greenfield-challenger bnb-chain/gnfd-challenger -f testnet-challenger-values.yaml -n NAMESPACE --debug --dry-run
```

If dry-run runs successfully, we install the chart:

`helm install greenfield-challenger bnb-chain/gnfd-challenger -f testnet-challenger-values.yaml -n NAMESPACE`

## Common Operations

Get the pods lists by running this commands:

```console
kubectl get pods -n NAMESPACE
```
See the history of versions of ``greenfield-challenger`` application with command.

```console
helm history greenfield-challenger -n NAMESPACE
```

## How to uninstall

Remove application with command.

```console
helm uninstall greenfield-challenger -n NAMESPACE
```

## Parameters

The following tables lists the configurable parameters of the chart and their default values.

You **must** change the values according to the your aws environment parametes in ``greenfield-challenger/testnet-values.yaml`` file.

1. In `greenfield-config`, change: `private_key` and `bls_private_key`.

2. In `db_config`, change: `password`, `username`, `url`.

51 changes: 51 additions & 0 deletions deployment/helm/relayer-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Helm Chart Deployment for Greenfield Relayer

## Deployment

These are the steps to deploy the greenfield relayer application using Helm Chart V3.

We run these commands first to get the chart and test the installation.

```console
helm repo add bnb-chain https://chart.bnbchain.world/
helm repo update
helm show values bnb-chain/gnfd-relayer-testnet-values > testnet-relayer-values.yaml
helm install greenfield-relayer bnb-chain/gnfd-relayer -f testnet-relayer-values.yaml -n NAMESPACE --debug --dry-run
```

If dry-run runs successfully, we install the chart:

`helm install greenfield-relayer bnb-chain/gnfd-relayer -f testnet-relayer-values.yaml -n NAMESPACE`

## Common Operations

Get the pods lists by running this commands:

```console
kubectl get pods -n NAMESPACE
```
See the history of versions of ``greenfield-relayer`` application with command.

```console
helm history greenfield-relayer -n NAMESPACE
```

## How to uninstall

Remove application with command.

```console
helm uninstall greenfield-relayer -n NAMESPACE
```

## Parameters

The following tables lists the configurable parameters of the chart and their default values.

You **must** change the values according to the your aws environment parametes in ``greenfield-relayer/testnet-values.yaml`` file.

1. In `greenfield-config`, change: `private_key` and `bls_private_key`.

2. In `bsc-config`, change: `private_key`

3. In `db_config`, change: `password`, `username`, `url`.

0 comments on commit 25e642b

Please sign in to comment.