Skip to content
2 changes: 2 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ jobs:
# TODO: rename the secret to avoid confusion
SMF_CONFIG_MATRIX_ACCESS_TOKEN: ${{ secrets.SMF_BOT_MATRIX_ACCESS_TOKEN }}
STAKING_MINER_CONFIG_SEED: ${{ secrets.STAKING_MINER_CONFIG_SEED }}
SMF_CONFIG_SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC: ${{ secrets.SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC }}
run: |
shopt -s globstar
for f in $(find **/ci/*-values.yaml); do
sed -i "s/__GITHUB_SECRET_SMF_CONFIG_MATRIX_ACCESS_TOKEN/$SMF_CONFIG_MATRIX_ACCESS_TOKEN/g" $f
sed -i "s/__GITHUB_SECRET_STAKING_MINER_CONFIG_SEED/$STAKING_MINER_CONFIG_SEED/g" $f
sed -i "s/__GITHUB_SECRET_SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC/$SMF_CONFIG_SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC/g" $f
done
if: steps.list-changed.outputs.changed

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Parity's [Kubernetes Helm](https://helm.sh/) charts collection.
- [Substrate faucet](charts/substrate-faucet/README.md): deploy Substrate Faucet service
- [Substrate telemetry](charts/substrate-telemetry/README.md): deploy the Substrate Telemetry service
- [Testnet Manager](charts/testnet-manager/README.md): deploy a management tool for operating testnets

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: 3.0.3
version: 3.0.4
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
Expand Down
4 changes: 2 additions & 2 deletions charts/substrate-faucet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is intended behaviour. Make sure to run `git add -A` once again to stage ch

# Substrate faucet Helm chart

![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 3.0.4](https://img.shields.io/badge/Version-3.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

## Maintainers

Expand Down Expand Up @@ -206,7 +206,7 @@ Adding default global override for .org.matrix.msc3786.rule.room.server_acl
| nameOverride | string | `""` | String to partially override common.names.name |
| nodeSelector | object | `{}` | Node labels for pods assignment ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| podSecurityContext | object | `{}` | Pods Security Context ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod |
| postgresql | object | `{"global":{"postgresql":{"auth":{"database":"faucet","postgresPassword":"Secret!"}}},"primary":{"persistence":{"size":"4Gi"},"resources":{"limits":{"memory":"1024Mi"},"requests":{"cpu":"250m","memory":"512Mi"}}}}` | PostgreSQL configuration |
| postgresql | object | `{"global":{"postgresql":{"auth":{"database":"faucet","postgresPassword":"Secret!"}}},"image":{"repository":"bitnamilegacy/postgresql"},"metrics":{"image":{"repository":"bitnamilegacy/postgresql"}},"primary":{"persistence":{"size":"4Gi"},"resources":{"limits":{"memory":"1024Mi"},"requests":{"cpu":"250m","memory":"512Mi"}}}}` | PostgreSQL configuration |
| postgresql.global.postgresql.auth | object | `{"database":"faucet","postgresPassword":"Secret!"}` | Auth configuration |
| postgresql.global.postgresql.auth.database | string | `"faucet"` | Database name |
| postgresql.global.postgresql.auth.postgresPassword | string | `"Secret!"` | Database password |
Expand Down
4 changes: 3 additions & 1 deletion charts/substrate-faucet/ci/kind-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ faucet:
secret:
# your bot access token here is how to find it https://t2bot.io/docs/access_tokens/
SMF_CONFIG_MATRIX_ACCESS_TOKEN: "__GITHUB_SECRET_SMF_CONFIG_MATRIX_ACCESS_TOKEN"
# just generate a random seed with "docker run -it parity/subkey generate"
SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC: "__GITHUB_SECRET_SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC"
config:
SMF_CONFIG_NETWORK: "rococo"
SMF_CONFIG_NETWORK: "westend"
SMF_CONFIG_MATRIX_SERVER: "https://m.parity.io"
SMF_CONFIG_MATRIX_BOT_USER_ID: "@helm-charts-bot:parity.io"
5 changes: 5 additions & 0 deletions charts/substrate-faucet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ ingress:

# -- PostgreSQL configuration
postgresql:
image:
repository: bitnamilegacy/postgresql
metrics:
image:
repository: bitnamilegacy/postgresql
global:
postgresql:
# -- Auth configuration
Expand Down