eth-faucet

by ethPandaOps

Helm chartv0.1.1Verified publisher

Ether faucet server built with Go and Svelte.

About this chart

eth-faucet

Ether faucet server built with Go and Svelte.

Homepage: https://github.com/chainflag/eth-faucet

Example Configuration

Upstream docs

secretEnv:
  PRIVATE_KEY: "your_private_key"

extraEnv:
  - name: WEB3_PROVIDER
    value: "http://your-rpc-provider:8545"

## Optional flags
extraArgs:
  - -faucet.amount=32.05

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the Deployment
argslist[]Command arguments
containerSecurityContextobjectSee values.yamlThe security context for containers
customArgslist[]Custom args for the eth-faucet container
customCommandlist[]Command replacement for the eth-faucet container
extraContainerslist[]Additional containers
extraEnvlist[{"name":"WEB3_PROVIDER","value":"http://rpc-provider:8545"}]Additional env variables
extraPodPortslist[]Extra Pod ports
extraPortslist[]Additional ports. Useful when using extraContainers
extraVolumeMountslist[]Additional volume mounts
extraVolumeslist[]Additional volumes
fullnameOverridestring""Overrides the chart's computed fullname
httpPortint8080Ports
image.pullPolicystring"IfNotPresent"eth-faucet container pull policy
image.repositorystring"chainflag/eth-faucet"eth-faucet container image repository
image.tagstring"latest"eth-faucet container image tag
imagePullSecretslist[]Image pull secrets for Docker images
ingress.annotationsobject{}Annotations for Ingress
ingress.enabledboolfalseIngress resource for the HTTP API
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.tlslist[]Ingress TLS
initContainerslist[]Additional init containers
livenessProbeobjectSee values.yamlLiveness probe
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
podAnnotationsobject{}Pod annotations
podDisruptionBudgetobject{}Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created
podLabelsobject{}Pod labels
priorityClassNamestringnilPod priority class
readinessProbeobjectSee values.yamlReadiness probe
replicasint1Number of replicas
resourcesobject{}Resource requests and limits
secretEnvobject{"PRIVATE_KEY":"52f81d18fd7c51ec151a72b7dfd13cddc39e01ef75b724ce0092c34962e59d5b"}Secret env variables injected via a created secret
securityContextobjectSee values.yamlThe security context for pods
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createboolfalseSpecifies 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
terminationGracePeriodSecondsint30How long to wait until the pod is forcefully terminated
tolerationslist[]Tolerations for pods
topologySpreadConstraintslist[]Topology Spread Constraints for pods

Deploy eth-faucet with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has eth-faucet 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 charteth-faucet is pinned at v0.1.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