Skip to content

Commit

Permalink
replace fauceth with powfaucet
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Oct 19, 2023
1 parent 9ae53cd commit fc8170d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 70 deletions.
6 changes: 3 additions & 3 deletions roles/generate_kubernetes_config/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ gen_kubernetes_config_helm_charts:
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.1.4
faucet:
valuesTemplatePath: templates/fauceth.yaml.j2
valuesTemplatePath: templates/powfaucet.yaml.j2
dependencies:
- name: fauceth
- name: powfaucet
repository: https://ethpandaops.github.io/ethereum-helm-charts
version: 0.2.3
version: 0.0.1
faucet-2:
valuesTemplatePath: templates/eth-faucet.yaml.j2
dependencies:
Expand Down
67 changes: 0 additions & 67 deletions roles/generate_kubernetes_config/templates/fauceth.yaml.j2

This file was deleted.

36 changes: 36 additions & 0 deletions roles/generate_kubernetes_config/templates/powfaucet.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# {{ ansible_managed }}

powfaucet:
fullnameOverride: powfaucet

image:
repository: {{ default_tooling_images.powfaucet.split(':') | first }}
tag: {{ default_tooling_images.powfaucet.split(':') | last}}
ingress:
enabled: true

className: ingress-nginx-public

hosts:
- host: faucet.{{ network_subdomain }}
paths:
- path: /
pathType: Prefix

faucetTitle: "{{ ethereum_network_name }} PoW Faucet"
faucetPrivkey: "<path:/secrets/services/services.enc.yaml#ethereum | jsonPath {.testnets.dencun-devnets.faucet_private_key}>"
faucetRpcUrl: "{{ default_el_endpoint }}"
faucetExplorerLink: "https://explorer.{{ network_subdomain }}/tx/{txid}"

faucetMaxDropWei: 100000000000000000000 # 100 ETH

faucetCaptchaEnabled: true
faucetCaptchaSitekey: "<path:/secrets/services/services.enc.yaml#hcaptcha | jsonPath {.site_key}>"
faucetCaptchaSecret: "<path:/secrets/services/services.enc.yaml#hcaptcha | jsonPath {.secret_key}>"

faucetRecurringLimitsEnabled: true
faucetRecurringLimitsAmountWei: 500000000000000000000 # 500 ETH
faucetRecurringLimitsDuration: 86400 # 1 day

faucetPowEnabled: true
faucetPowRewardPerHash: 1000000000000000000 # 1 ETH

0 comments on commit fc8170d

Please sign in to comment.