A Helm chart for fakebtg — a stand-in HTTP server that mocks the BTG provider API surface for use in dev/staging environments without access to the real BTG sandbox.
Dev/staging only. Do not install in production.
helm install fakebtg oci://ghcr.io/lerianstudio/plugin-br-payments-fakebtg-helm \
--namespace midaz-plugins --create-namespace
The chart deploys one Deployment, one pod running the /fakebtg binary on a distroless nonroot image. It listens on port 8090 by default (override with the FAKEBTG_PORT env var via fakebtg.extraEnvVars). There is no persistent state and no external dependency.
GET /health — liveness/readiness probe target (also /fakebtg healthcheck CLI subcommand)POST /oauth/tokenPOST /{companyId}/banking/collectionsPOST /{companyId}/banking/paymentsGET /{companyId}/banking/paymentsPOST /admin/set-errorPOST /admin/set-latencyPOST /admin/clear-errorPOST /admin/clear-latencyPOST /admin/resetGET /inspect/calls, DELETE /inspect/callsPOST /webhook-receiver, GET /inspect/webhook-receiverNone. fakebtg starts with no env vars set and exposes GET /health on port 8090.
| Key | Default | Description |
|---|---|---|
fakebtg.replicaCount |
1 |
Number of replicas. Keep at 1 — scenario state is in-memory. |
fakebtg.image.repository |
ghcr.io/lerianstudio/plugin-br-payments-fakebtg |
Container image. |
fakebtg.image.tag |
"" (Chart appVersion) |
Image tag. |
fakebtg.service.type |
ClusterIP |
Service type. |
fakebtg.service.port |
8090 |
Service port. |
fakebtg.ingress.enabled |
false |
Expose via Ingress for external testers. |
fakebtg.extraEnvVars |
{} |
Extra env vars (e.g., FAKEBTG_PORT: ":9000"). |
See values.yaml for the full list.
External integrators that need to hit /admin/* for chaos scenarios can expose fakebtg via Ingress:
fakebtg:
ingress:
enabled: true
className: nginx
hosts:
- host: fakebtg.staging.example.com
paths:
- path: /
pathType: Prefix
| Probe | Path | Notes |
|---|---|---|
| Liveness | /health |
Returns 200 once the HTTP server is up. |
| Readiness | /health |
Same endpoint; no external deps to gate on. |
helm uninstall fakebtg -n midaz-plugins
Apache 2.0 (chart). The plugin-br-payments application itself is licensed under the Elastic License 2.0.