Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cbermudez97 committed Oct 1, 2024
1 parent 8ddeeea commit 3c5bcd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 2 additions & 3 deletions charts/erpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,16 @@ A Helm chart to deploy eRPC instances
| erpc.config.logLevel | string | `"warn"` | Erpc log level. |
| erpc.config.metrics | object | `{"enabled":true,"hostV4":"0.0.0.0","hostV6":"[::]","listenV4":true,"listenV6":false,"port":4001}` | Erpc prometheus metrics server configuration. |
| erpc.config.projects[0].auth | object | `{"secretKey":"","type":"secret"}` | Project authentication strategies. Ref: https://docs.erpc.cloud/config/auth. Only `secret` strategy is supported at the moment. |
| erpc.config.projects[0].id | string | `""` | Project id to be used. Must be a valid http path. |
| erpc.config.projects[0].id | string | `""` | |
| erpc.config.projects[0].networks | list | `[{"chainId":1,"failsafe":{},"type":"evm"}]` | Project networks to be used. |
| erpc.config.projects[0].networks[0].chainId | int | `1` | Chain id of the network. |
| erpc.config.projects[0].networks[0].failsafe | object | `{}` | Failsafe policies to be used for this network. Ref: https://docs.erpc.cloud/config/failsafe |
| erpc.config.projects[0].networks[0].type | string | `"evm"` | Chain type to be used. Only `evm` is supported at the moment. |
| erpc.config.projects[0].upstreams[0].chainId | int | `1` | Upstream chain id to be used. |
| erpc.config.projects[0].upstreams[0].endpoint | object | `{"secret":{"enabled":false,"key":""},"value":""}` | Upstream endpoint to be used. |
| erpc.config.projects[0].upstreams[0].endpoint.secret | object | `{"enabled":false,"key":""}` | Optional secret key to be used. This key is taken from the configured `erpc.secret` resource. |
| erpc.config.projects[0].upstreams[0].endpoint.value | string | `""` | Optional endpoint value. Ignored if the endpoint is using the `secret` configuration. |
| erpc.config.projects[0].upstreams[0].failsafe | object | `{}` | Failsafe policies to be used for this upstream. Ref: https://docs.erpc.cloud/config/failsafe |
| erpc.config.projects[0].upstreams[0].id | string | `""` | Upstream id to be used. Must be a valid http path. |
| erpc.config.projects[0].upstreams[0].id | string | `""` | |
| erpc.config.projects[0].upstreams[0].type | string | `"evm"` | Upstream type to be used. |
| erpc.config.server | object | `{"httpHostV4":"0.0.0.0","httpHostV6":"[::]","httpPort":4000,"listenV4":true,"listenV6":false}` | Erpc json-rpc server configuration. |
| erpc.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/erpc/erpc","tag":"0.0.23"}` | Erpc image to be used. |
Expand Down
12 changes: 4 additions & 8 deletions charts/erpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ erpc:

# Erpc projects configuration.
projects:
- # -- Project id to be used.
# Must be a valid http path.
id: ""
- id: ""
# -- Project authentication strategies.
# Ref: https://docs.erpc.cloud/config/auth.
# Only `secret` strategy is supported at the moment.
Expand All @@ -95,11 +93,11 @@ erpc:
secretKey: ""
# -- Project networks to be used.
networks:
- # -- Chain type to be used.
- chainId: 1
# -- Chain type to be used.
# Only `evm` is supported at the moment.
type: evm
# -- Chain id of the network.
chainId: 1
# -- Failsafe policies to be used for this network.
# Ref: https://docs.erpc.cloud/config/failsafe
failsafe:
Expand All @@ -117,9 +115,7 @@ erpc:
# maxCount: 1

upstreams:
- # -- Upstream id to be used.
# Must be a valid http path.
id: ""
- id: ""
# -- Upstream type to be used.
type: evm
# -- Upstream chain id to be used.
Expand Down

0 comments on commit 3c5bcd2

Please sign in to comment.