horcrux

by joaquinito2051

Helm chartv1.0.1App v1.0.0

The StakeWise BLS hocrux.

About this chart

Horcrux Helm Chart

Kubernetes Helm chart for deploying StakeWise BLS Horcrux dispatcher.

TL;DR;

$ helm repo add stakewise https://charts.stakewise.io
$ helm install my-release --set dispatcher.authenticationKey="abcd1234" stakewise/horcrux

Introduction

Can be used to deploy StakeWise BLS Horcrux dispatcher on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.14+
  • Helm 3

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add stakewise https://charts.stakewise.io
$ helm install my-release stakewise/horcrux

The command deploys Horcrux dispatcher on the Kubernetes cluster in the default configuration. The configuration section lists various ways to override default configuration during deployment.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

Configuration

See values.yaml for configuration notes. Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install my-release ./horcrux --set dispatcher.authenticationKey="abcd1234"

The above command specifies the authentication key for the dispatcher.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install my-release stakewise/horcrux -f values.yaml

Tip: You can override the default values.yaml

Deploy horcrux with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has horcrux on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthorcrux is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply