Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Add proxy count to helm charts for faucets
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Dec 7, 2023
1 parent 062ae34 commit ac5dbb3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rollup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.0
version: 0.7.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/rollup/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ metadata:
name: {{ .Values.config.rollup.name }}-faucet-env
namespace: {{ .Values.global.namespace }}
data:
ETH_FAUCET_PROXYCOUNT: "{{ .Values.config.faucet.proxyCount }}"
ETH_FAUCET_PORT: "{{ .Values.ports.faucet }}"
ETH_FAUCET_EVM_PROVIDER_URL: "http://{{ .Values.config.rollup.name }}-evm-service:{{ .Values.ports.jsonRPC }}"
ETH_FAUCET_AMOUNT: "{{ .Values.config.faucet.amount }}"
Expand Down
1 change: 1 addition & 0 deletions charts/rollup/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ spec:
- -wallet.provider=$(ETH_FAUCET_EVM_PROVIDER_URL)
- -wallet.privkey=$(ETH_FAUCET_EVM_PRIVATE_KEY)
- -faucet.amount=$(ETH_FAUCET_AMOUNT)
- -proxycount=$(ETH_FAUCET_PROXY_COUNT)
image: {{ .Values.images.faucet }}
envFrom:
- configMapRef:
Expand Down
1 change: 1 addition & 0 deletions charts/rollup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ config:
initialEthereumL1BlockHeight: 1

faucet:
proxyCount: 1
# The account from which the faucet disburses funds, likely want to have
# the corresponding account given a balance in genesis accounts.
# Note: When secretProvider.enabled is true the secret provided by
Expand Down
2 changes: 1 addition & 1 deletion charts/sequencer-faucet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.0
version: 0.4.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/sequencer-faucet/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: {{ .Values.global.namespace }}
data:
SEQUENCER_FAUCET_PORT: "{{ .Values.ports.faucet }}"
SEQUENCER_FAUCET_PROXYCOUNT: "{{ .Values.config.proxyCount }}"
SEQUENCER_FAUCET_SEQUENCER_RPC_URL: "{{ .Values.config.sequencerRpcUrl}}"
SEQUENCER_FAUCET_AMOUNT: "{{ .Values.config.amount }}"
{{- if not .Values.secretProvider.enabled }}
Expand Down
1 change: 1 addition & 0 deletions charts/sequencer-faucet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
- -wallet.provider=$(SEQUENCER_FAUCET_SEQUENCER_RPC_URL)
- -wallet.privkey=$(SEQUENCER_FAUCET_PRIVATE_KEY)
- -faucet.amount=$(SEQUENCER_FAUCET_AMOUNT)
- -proxycount=$(SEQUENCER_FAUCET_PROXY_COUNT)
envFrom:
- configMapRef:
name: sequencer-faucet-env
Expand Down
1 change: 1 addition & 0 deletions charts/sequencer-faucet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ global:
replicaCount: 1

config:
proxyCount: 1
sequencerRpcUrl: http://node0-sequencer-rpc-service.astria-dev-cluster.svc.cluster.local:26657
# This private key will be replaced with `sequencerPrivateKey` when enabled
# For testing purposes only, do not use except with local development cluster,
Expand Down

0 comments on commit ac5dbb3

Please sign in to comment.