Skip to content

Commit

Permalink
chore: add HA config πŸš€ (#54)
Browse files Browse the repository at this point in the history
* chore: add HA config πŸš€

* chore: update docs

* chore: update docs
  • Loading branch information
ahasna committed Jun 11, 2024
1 parent c794fc4 commit 6e7cce0
Show file tree
Hide file tree
Showing 10 changed files with 223 additions and 51 deletions.
12 changes: 8 additions & 4 deletions charts/broker-api/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# broker-api

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.2](https://img.shields.io/badge/AppVersion-1.0.2-informational?style=flat-square)

A Helm chart for Kubernetes

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | set pod affinity |
| config | object | `{"key":{"basePath":"/etc/chainflip/keys","existingSecret":"","existingSecretKey":"","signingKey":"","signingKeyFileName":"signing_key_file"},"stateChainWsEndpoint":""}` | broker-api configuration |
| config.key | object | `{"basePath":"/etc/chainflip/keys","existingSecret":"","existingSecretKey":"","signingKey":"","signingKeyFileName":"signing_key_file"}` | set the broker-api signing key |
| config.key.basePath | string | `"/etc/chainflip/keys"` | set the base path |
Expand All @@ -17,22 +18,25 @@ A Helm chart for Kubernetes
| config.key.signingKeyFileName | string | `"signing_key_file"` | set the signing key file name |
| config.stateChainWsEndpoint | string | `""` | set the websocket endpoint for the state-chain |
| containerPort | int | `8080` | set the container port |
| env | object | `{}` | |
| extraArgs | object | `{}` | provide extra arguments to the broker-api |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"chainfliplabs/chainflip-broker-api","tag":""}` | image repository and tag |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"docker.io/chainfliplabs/chainflip-broker-api","tag":""}` | image repository and tag |
| image.pullPolicy | string | `"IfNotPresent"` | set the pull policy |
| image.repository | string | `"chainfliplabs/chainflip-broker-api"` | set the repository name |
| image.repository | string | `"docker.io/chainfliplabs/chainflip-broker-api"` | set the repository name |
| image.tag | string | `""` | set the image tag |
| imagePullSecrets | list | `[]` | reference to the secret containing repository credentials |
| ingress | object | `{"annotations":{},"enabled":false,"hosts":[],"tls":{}}` | set the ingress configuration |
| ingress.annotations | object | `{}` | set the ingress annotations |
| ingress.enabled | bool | `false` | set the ingress enabled flag |
| ingress.hosts | list | `[]` | set the ingress hosts |
| ingress.tls | object | `{}` | set the ingress tls configuration |
| nodeSelector | object | `{}` | set node selector |
| podAnnotations | object | `{}` | set pod annotations |
| resources | object | `{}` | set the resources for the pods |
| service | object | `{"port":80,"type":"ClusterIP"}` | service configuration |
| service.port | int | `80` | set the service port |
| service.type | string | `"ClusterIP"` | set the service type |
| tolerations | list | `[]` | set pod tolerations |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
40 changes: 40 additions & 0 deletions charts/chainflip-prometheus-exporter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# chainflip-prometheus-exporter

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

Scrape data from all supported chains

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| Chainflip Labs | <[email protected]> | <https://chainflip.io> |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| config.existingConfigMap | string | `""` | |
| config.json | string | `"{\n \"dot\": {\n \"enabled\": false,\n \"network\": \"pdot\",\n \"defaultMetrics\": [],\n \"accounts\": []\n },\n \"flip\": {\n \"enabled\": true,\n \"network\": \"berghain\",\n \"defaultMetrics\": [],\n \"accounts\": [],\n \"skipEvents\": []\n },\n \"btc\": {\n \"enabled\": false,\n \"network\": \"mainnet\",\n \"defaultMetrics\": [],\n \"wallets\": []\n },\n \"eth\": {\n \"enabled\": false,\n \"networkId\": 1,\n \"network\": \"mainnet\",\n \"defaultMetrics\": [],\n \"contracts\": [\n {\n \"alias\": \"state-chain-gateway\",\n \"address\": \"0x6995Ab7c4D7F4B03f467Cf4c8E920427d9621DBd\"\n },\n {\n \"alias\": \"key-manager\",\n \"address\": \"0xcd351d3626Dc244730796A3168D315168eBf08Be\"\n },\n {\n \"alias\": \"vault\",\n \"address\": \"0xF5e10380213880111522dd0efD3dbb45b9f62Bcc\"\n },\n {\n \"alias\": \"flip\",\n \"address\": \"0x826180541412D574cf1336d22c0C0a287822678A\"\n },\n {\n \"alias\": \"usdc\",\n \"address\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"\n }\n ],\n \"wallets\": [\n {\n \"alias\": \"vault\",\n \"address\": \"0xF5e10380213880111522dd0efD3dbb45b9f62Bcc\"\n }\n ],\n \"tokens\": [\n {\n \"address\": \"0x826180541412D574cf1336d22c0C0a287822678A\",\n \"symbol\": \"FLIP\"\n },\n {\n \"address\": \"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n \"symbol\": \"USDC\"\n }\n ]\n },\n \"github\": {\n \"enabled\": false,\n \"repositories\": []\n }\n}\n"` | |
| env.BTC_HTTP_ENDPOINT | string | `""` | |
| env.CF_NETWORK | string | `"berghain"` | |
| env.CF_WS_ENDPOINT | string | `"wss://mainnet-rpc.chainflip.io"` | |
| env.CONFIG_PATH | string | `"./config.json"` | |
| env.DOT_WS_ENDPOINT | string | `""` | |
| env.ETH_HTTP_ENDPOINT | string | `""` | |
| env.ETH_NETWORK_ID | string | `"1"` | |
| env.ETH_WS_ENDPOINT | string | `""` | |
| extraManifests | list | `[]` | |
| fullnameOverride | string | `""` | |
| image.repository | string | `"ghcr.io/chainflip-io/chainflip-prometheus-exporter"` | |
| image.tag | string | `""` | |
| imagePullPolicy | string | `"IfNotPresent"` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
| port | int | `9000` | |
| resources | object | `{}` | |
| secret.getEnvFromSecret | string | `""` | |
| service.annotations | object | `{}` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
12 changes: 8 additions & 4 deletions charts/lp-api/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# lp-api

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.2](https://img.shields.io/badge/AppVersion-1.0.2-informational?style=flat-square)

Deploy a lp-api for the Chainflip network

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | set pod affinity |
| config | object | `{"key":{"basePath":"/etc/chainflip/keys","existingSecret":"","existingSecretKey":"","signingKey":"","signingKeyFileName":"signing_key_file"},"stateChainWsEndpoint":""}` | lp-api configuration |
| config.key | object | `{"basePath":"/etc/chainflip/keys","existingSecret":"","existingSecretKey":"","signingKey":"","signingKeyFileName":"signing_key_file"}` | set the lp-api signing key |
| config.key.basePath | string | `"/etc/chainflip/keys"` | set the base path |
Expand All @@ -17,22 +18,25 @@ Deploy a lp-api for the Chainflip network
| config.key.signingKeyFileName | string | `"signing_key_file"` | set the signing key file name |
| config.stateChainWsEndpoint | string | `""` | set the websocket endpoint for the state-chain |
| containerPort | int | `8080` | set the container port |
| env | object | `{}` | |
| extraArgs | object | `{}` | provide extra arguments to the lp-api |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"chainfliplabs/chainflip-lp-api","tag":""}` | image repository and tag |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"docker.io/chainfliplabs/chainflip-lp-api","tag":""}` | image repository and tag |
| image.pullPolicy | string | `"IfNotPresent"` | set the pull policy |
| image.repository | string | `"chainfliplabs/chainflip-lp-api"` | set the repository name |
| image.repository | string | `"docker.io/chainfliplabs/chainflip-lp-api"` | set the repository name |
| image.tag | string | `""` | set the image tag |
| imagePullSecrets | list | `[]` | reference to the secret containing repository credentials |
| ingress | object | `{"annotations":{},"enabled":false,"hosts":[],"tls":{}}` | set the ingress configuration |
| ingress.annotations | object | `{}` | set the ingress annotations |
| ingress.enabled | bool | `false` | set the ingress enabled flag |
| ingress.hosts | list | `[]` | set the ingress hosts |
| ingress.tls | object | `{}` | set the ingress tls configuration |
| nodeSelector | object | `{}` | set node selector |
| podAnnotations | object | `{}` | set pod annotations |
| resources | object | `{}` | set the resources for the pods |
| service | object | `{"port":80,"type":"ClusterIP"}` | service configuration |
| service.port | int | `80` | set the service port |
| service.type | string | `"ClusterIP"` | set the service type |
| tolerations | list | `[]` | set pod tolerations |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
4 changes: 2 additions & 2 deletions charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apiVersion: v2
name: node
description: |
Deploy a Chainflip Validator or Archive node on Kubernetes
maintainers:
- name: Chainflip Labs
email: [email protected]
url: https://chainflip.io

type: application

version: 0.6.3
version: 0.7.0

appVersion: "0.9.0"
Loading

0 comments on commit 6e7cce0

Please sign in to comment.