Skip to content

Commit

Permalink
Use wss instead of https in faucet example (#249)
Browse files Browse the repository at this point in the history
* use wss instead of https in faucet example

* change ci kind values to use wss instead of https
  • Loading branch information
PierreBesson authored May 31, 2023
1 parent 3fd0da5 commit 5d85e71
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/substrate-faucet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: substrate-faucet
description: A Helm chart to deploy substrate-faucet
type: application
version: 2.1.2
version: 2.1.3
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
4 changes: 2 additions & 2 deletions charts/substrate-faucet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ helm repo add parity https://paritytech.github.io/helm-charts/
helm install substrate-faucet parity/substrate-faucet \
--set faucet.secret.SMF_BACKEND_FAUCET_ACCOUNT_MNEMONIC="//Alice" \
--set faucet.secret.SMF_BOT_MATRIX_ACCESS_TOKEN="******" \
--set faucet.config.SMF_BACKEND_RPC_ENDPOINT="https://westend-rpc.polkadot.io/" \
--set faucet.config.SMF_BACKEND_RPC_ENDPOINT="wss://westend-rpc.polkadot.io/" \
--set faucet.config.SMF_BACKEND_INJECTED_TYPES='{}' \
--set faucet.config.SMF_BACKEND_NETWORK_DECIMALS='12' \
--set faucet.config.SMF_BOT_MATRIX_SERVER="https://matrix.org" \
Expand Down Expand Up @@ -40,7 +40,7 @@ helm install substrate-faucet parity/substrate-faucet \
| `faucet.externalAccess` | externalAccess | `false` |
| `faucet.secret.SMF_BACKEND_FAUCET_ACCOUNT_MNEMONIC` | Mnemonic seed for the faucet account | `this is a fake mnemonic` |
| `faucet.secret.SMF_BACKEND_RECAPTCHA_SECRET` | A secret recaptcha token used to validate external requests | `fakeRecaptchaSecret` |
| `faucet.config.SMF_BACKEND_RPC_ENDPOINT` | WS RPC node endpoint | `https://example.com/` |
| `faucet.config.SMF_BACKEND_RPC_ENDPOINT` | WS RPC node endpoint | `wss://example.com/` |
| `faucet.config.SMF_BACKEND_NETWORK_DECIMALS` | Number of decimal for the network | `12` |
| `faucet.config.SMF_BACKEND_INJECTED_TYPES` | To set if any type must be overriden | `{}` |
| `faucet.config.SMF_BACKEND_FAUCET_BALANCE_CAP` | The bot wil verify this limit before sending tokens. If the account requesting tokens has more then the bot will not send tokens | `100` |
Expand Down
2 changes: 1 addition & 1 deletion charts/substrate-faucet/ci/kind-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ faucet:
# your bot access token here is how to find it https://t2bot.io/docs/access_tokens/
SMF_BOT_MATRIX_ACCESS_TOKEN: "__GITHUB_SECRET_SMF_BOT_MATRIX_ACCESS_TOKEN"
config:
SMF_BACKEND_RPC_ENDPOINT: "https://westend-rpc.polkadot.io/"
SMF_BACKEND_RPC_ENDPOINT: "wss://westend-rpc.polkadot.io/"
SMF_BOT_MATRIX_SERVER: "https://m.parity.io"
SMF_BOT_MATRIX_BOT_USER_ID: "@helm-charts-bot:parity.io"
2 changes: 1 addition & 1 deletion charts/substrate-faucet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ faucet:
config:
## @param faucet.config.SMF_BACKEND_RPC_ENDPOINT WS RPC node endpoint
##
SMF_BACKEND_RPC_ENDPOINT: "https://example.com/"
SMF_BACKEND_RPC_ENDPOINT: "wss://example.com/"
## @param faucet.config.SMF_BACKEND_NETWORK_DECIMALS Number of decimal for the network
##
SMF_BACKEND_NETWORK_DECIMALS: 12
Expand Down

0 comments on commit 5d85e71

Please sign in to comment.