diff --git a/roles/dora/defaults/main.yml b/roles/dora/defaults/main.yml index 99f186c5..3e7a393e 100644 --- a/roles/dora/defaults/main.yml +++ b/roles/dora/defaults/main.yml @@ -22,6 +22,10 @@ dora_frontend_ethexplorer: "" dora_frontend_validatornames: "" dora_frontend_validatornames_inventory: "" +dora_proxy_count: 1 +dora_callrate_limit: 2 +dora_callrate_burst: 10 + # This can be used to create additional config files for the beaconchain explorer. # It's useful when using private testnets and you need to mount a custom network config # as the chain config. All files will be available within the explorer containers on the @@ -91,6 +95,12 @@ dora_config: | validatorNamesYaml: "{{ dora_frontend_validatornames }}" validatorNamesInventory: "{{ dora_frontend_validatornames_inventory }}" + rateLimit: + enabled: true + proxyCount: {{ dora_proxy_count }} + rate: {{ dora_callrate_limit }} + burst: {{ dora_callrate_burst }} + beaconapi: # CL Client RPC endpoint: "{{ dora_beaconapi_endpoint }}" diff --git a/roles/generate_kubernetes_config/defaults/main.yaml b/roles/generate_kubernetes_config/defaults/main.yaml index cbf0fc7a..f497a893 100644 --- a/roles/generate_kubernetes_config/defaults/main.yaml +++ b/roles/generate_kubernetes_config/defaults/main.yaml @@ -88,7 +88,7 @@ gen_kubernetes_config_helm_charts: dependencies: - name: dora repository: https://ethpandaops.github.io/ethereum-helm-charts - version: 0.0.1 + version: 0.0.3 forky: valuesTemplatePath: templates/forky.yaml.j2 dependencies: diff --git a/roles/generate_kubernetes_config/templates/dora.yaml.j2 b/roles/generate_kubernetes_config/templates/dora.yaml.j2 index b8357ef4..3d05d8c1 100644 --- a/roles/generate_kubernetes_config/templates/dora.yaml.j2 +++ b/roles/generate_kubernetes_config/templates/dora.yaml.j2 @@ -25,6 +25,7 @@ dora: name: {{ ethereum_network_name }} configPath: "https://config.{{ network_subdomain }}/cl/config.yaml" validatorNamesInventory: "https://config.{{ network_subdomain }}/api/v1/nodes/validator-ranges" + proxyCount: 2 postgresql: name: "dora-postgresql"