horcrux

by Nodeify

Helm chartv1.0.9App v3.3.2Verified publisher

A production-grade Helm chart for deploying Horcrux remote signer for Cosmos chains

About this chart

horcrux

A production-grade Helm chart for deploying Horcrux remote signer for Cosmos chains

As of chart version 1.0.9, persistence.enabled=false fails rendering. Keep persistence.enabled=true (the default) and configure persistent storage to preserve validator signing state.

Homepage: https://github.com/strangelove-ventures/horcrux

Maintainers

NameEmailUrl
Horcrux Teamhttps://github.com/strangelove-ventures/horcrux

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for pod assignment
argslist[]Args override
chainobject{"environment":"mainnet","id":"cosmoshub"}Chain configuration
chain.environmentstring"mainnet"Chain environment (e.g., mainnet, testnet)
chain.idstring"cosmoshub"Chain identifier (e.g., cosmoshub, osmosis, juno)
commandlist[]Command override
extraContainerslist[]Extra containers (sidecars)
extraEnvlist[]Extra environment variables
extraEnvFromlist[]Extra environment variables from ConfigMaps or Secrets
extraInitContainerslist[]Extra init containers
extraVolumeMountslist[]Extra volume mounts
extraVolumeslist[]Extra volumes
fullnameOverridestring""Override the full name of the release
globalobject{"namespace":""}Global settings
global.namespacestring""Namespace to deploy into (if not specified, uses release namespace)
horcruxobject{"chainNodes":[{"privValAddr":"tcp://node-0.node-service.default.svc.cluster.local:1234"}],"debugAddr":"0.0.0.0:2345","extraConfig":{},"grpcAddr":"","signMode":"threshold","thresholdMode":{"grpcTimeout":"1000ms","raftTimeout":"1000ms","threshold":2}}Horcrux signing configuration
horcrux.chainNodeslist[{"privValAddr":"tcp://node-0.node-service.default.svc.cluster.local:1234"}]Chain nodes configuration
horcrux.debugAddrstring"0.0.0.0:2345"Debug server address (used for health checks and metrics)
horcrux.extraConfigobject{}Additional configuration options (merged into config.yaml)
horcrux.grpcAddrstring""GRPC server address (empty string disables)
horcrux.signModestring"threshold"Sign mode: "threshold" or "single"
horcrux.thresholdModeobject{"grpcTimeout":"1000ms","raftTimeout":"1000ms","threshold":2}Threshold mode configuration (only used when signMode is "threshold")
horcrux.thresholdMode.grpcTimeoutstring"1000ms"GRPC timeout for cosigner communication
horcrux.thresholdMode.raftTimeoutstring"1000ms"Raft consensus timeout
horcrux.thresholdMode.thresholdint2Minimum number of signers required for threshold signing (must be <= replicaCount)
imageobject{"pullPolicy":"IfNotPresent","repository":"ghcr.io/strangelove-ventures/horcrux","tag":""}Horcrux image configuration
image.tagstring""Overrides the image tag whose default is the chart appVersion
imagePullSecretslist[]Image pull secrets for private registries
initContainerobject{"image":{"pullPolicy":"IfNotPresent","repository":"busybox","tag":"1.36"}}Init container configuration
lifecycleobject{}Lifecycle hooks
livenessProbeobject{"enabled":true,"failureThreshold":3,"httpGet":{"path":"/health","port":"debug"},"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5}Liveness probe configuration
monitoringobject{"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s"},"vmServiceScrape":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"}}Monitoring configuration
monitoring.serviceMonitorobject{"enabled":false,"interval":"30s","labels":{},"metricRelabelings":[],"relabelings":[],"scrapeTimeout":"10s"}Enable ServiceMonitor for Prometheus Operator
monitoring.serviceMonitor.intervalstring"30s"Scrape interval
monitoring.serviceMonitor.labelsobject{}Additional labels for ServiceMonitor
monitoring.serviceMonitor.metricRelabelingslist[]Metric relabel configs
monitoring.serviceMonitor.relabelingslist[]Relabel configs
monitoring.serviceMonitor.scrapeTimeoutstring"10s"Scrape timeout
monitoring.vmServiceScrapeobject{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"}Enable VMServiceScrape for VictoriaMetrics Operator
monitoring.vmServiceScrape.intervalstring"30s"Scrape interval
monitoring.vmServiceScrape.labelsobject{}Additional labels for VMServiceScrape
monitoring.vmServiceScrape.scrapeTimeoutstring"10s"Scrape timeout
nameOverridestring""Override the name of the chart
networkPolicyobject{"egress":[],"enabled":false,"ingress":[]}Network Policy configuration
networkPolicy.egresslist[]Egress rules
networkPolicy.enabledboolfalseEnable network policies
networkPolicy.ingresslist[]Ingress rules
nodeSelectorobject{}Node selector for pod assignment
persistenceobject{"accessMode":"ReadWriteOnce","annotations":{},"enabled":true,"size":"1Gi","storageClassName":""}Persistent volume configuration for state storage
persistence.accessModestring"ReadWriteOnce"Access mode
persistence.annotationsobject{}Annotations for PVCs
persistence.enabledbooltrueEnable persistent storage for validator state
persistence.sizestring"1Gi"Storage size
persistence.storageClassNamestring""Storage class name (use "-" for default, "" for no storage class)
podAnnotationsobject{}Pod annotations
podDisruptionBudgetobject{"enabled":true,"minAvailable":2}Pod Disruption Budget
podDisruptionBudget.enabledbooltrueEnable PodDisruptionBudget
podDisruptionBudget.minAvailableint2Minimum available pods (use either minAvailable or maxUnavailable)
podLabelsobject{}Pod labels
podManagementPolicystring"Parallel"Pod management policy: "OrderedReady" or "Parallel"
podSecurityContextobject{"fsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}Security context for pods
priorityClassNamestring""Priority class name for pod scheduling
rbacobject{"create":true}RBAC configuration
rbac.createbooltrueCreate RBAC resources
readinessProbeobject{"enabled":true,"failureThreshold":3,"httpGet":{"path":"/health","port":"debug"},"initialDelaySeconds":10,"periodSeconds":5,"successThreshold":1,"timeoutSeconds":3}Readiness probe configuration
replicaCountint3Number of Horcrux co-signer replicas (minimum 2, recommended 3 or more)
resourcesobject{"limits":{"cpu":"2","memory":"2Gi"},"requests":{"cpu":"500m","memory":"512Mi"}}Resource limits and requests
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":false,"runAsNonRoot":true,"runAsUser":1000}Security context for containers
serviceobject{"headless":{"annotations":{},"enabled":true,"p2pPort":2222,"type":"ClusterIP"},"metrics":{"annotations":{},"enabled":true,"port":2345,"type":"ClusterIP"}}Service configuration
service.headlessobject{"annotations":{},"enabled":true,"p2pPort":2222,"type":"ClusterIP"}Headless service for StatefulSet pod discovery
service.headless.p2pPortint2222P2P port for cosigner communication
service.metricsobject{"annotations":{},"enabled":true,"port":2345,"type":"ClusterIP"}Metrics service configuration
serviceAccountobject{"annotations":{},"create":true,"name":""}ServiceAccount configuration
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
shardsobject{"externalSecrets":{"enabled":false,"refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":""},"shardConfigs":[]},"method":"secret","secrets":{"create":false,"existingSecrets":["horcrux-shard-1","horcrux-shard-2","horcrux-shard-3"]}}Shard secrets configuration
shards.externalSecretsobject{"enabled":false,"refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":""},"shardConfigs":[]}External Secrets Operator configuration (used when method is "externalSecret")
shards.externalSecrets.enabledboolfalseEnable External Secrets
shards.externalSecrets.refreshIntervalstring"1h"Refresh interval for secrets
shards.externalSecrets.secretStoreRefobject{"kind":"ClusterSecretStore","name":""}Secret store reference
shards.externalSecrets.shardConfigslist[]Remote references for each shard
shards.methodstring"secret"Method to provide shard secrets: "secret" or "externalSecret"
shards.secretsobject{"create":false,"existingSecrets":["horcrux-shard-1","horcrux-shard-2","horcrux-shard-3"]}Direct Kubernetes secrets (used when method is "secret") Each shard must contain: provider_shard.json, ecies_keys.json, provider_priv_validator_state.json
shards.secrets.createboolfalseCreate secrets from values (NOT RECOMMENDED for production - use external secrets)
shards.secrets.existingSecretslist["horcrux-shard-1","horcrux-shard-2","horcrux-shard-3"]Existing secret names (one per replica) IMPORTANT: You must create these secrets before installing the chart
startupProbeobject{"enabled":false,"failureThreshold":30,"httpGet":{"path":"/health","port":"debug"},"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":3}Startup probe configuration (useful for slow-starting pods)
terminationGracePeriodSecondsint30Termination grace period in seconds
tolerationslist[]Tolerations for pod assignment
updateStrategyobject{"rollingUpdate":{},"type":"RollingUpdate"}Update strategy for StatefulSet

Autogenerated from chart metadata using helm-docs v1.14.2

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.9 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