assertoor

by ethPandaOps

Helm chartv1.2.1App 1.0.0Verified publisher

Testing tool that is capable of doing actions and checking conditions on ethereum pos networks.

About this chart

assertoor

Testing tool that is capable of doing actions and checking conditions on ethereum pos networks.

Homepage: https://github.com/ethpandaops/assertoor

Source Code

Usage

Usage: assertoor --config config.yaml

Helper:

Usage of ./assertoor:
--config string
    Path to the assertoor config file

Example Configuration:

endpoints:
  - name: node1
    executionUrl: "http://execution-node:8545"
    consensusUrl: "http://beacon-node:5052"

globalVariables:
  walletPrivkey: "feedbeef12340000feedbeef12340000feedbeef12340000feedbeef12340000"

assertoorTests:
  - file: "https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/block-proposal-check.yaml"
    name: "Custom Block proposal check"
    timeout: 48h
    config:
      validatorPairNames: ["geth", "besu"]
    schedule:
      cron:
        - "0 */2 * * *" # every 2 hours
      startup: true
  - file: "https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/stability-check.yaml"
  - file: "https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/all-opcodes-test.yaml"
  - file: "https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-lifecycle-test-small.yaml"

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the StatefulSet
assertoorApiEnabledbooltrueEnable assertoor API
assertoorFrontendEnabledbooltrueEnable assertoor UI
assertoorMaxConcurrentTestsint1Maximum number of concurrent tests
assertoorTestRetentionTimestring"720h"Test retention time
assertoorTestslist[]assertoor test configurations -- file is the only required field. All other fields default to the values provided in the test file, but can be overridden if needed.
authProviderUrlstring""URL of the authenticatoor service that issues bearer tokens for the assertoor API (e.g. "https://auth..example.io"). When empty, the API runs unauthenticated — only safe behind a private network or upstream proxy. When set, all write endpoints require a JWT verified against that service's JWKS.
configstringSee values.yamlConfig file
containerSecurityContextobjectSee values.yamlThe security context for containers
customArgslist["--config=/config/assertoor-config.yaml"]Custom args for the assertoor container
customCommandlist[]Command replacement for the assertoor container
endpointslist[{"consensusHeaders":{"X-Test":"test","Y-Test":"test2"},"consensusUrl":"http://beacon-node:5052","executionHeaders":{"X-Test":"test","Y-Test":"test2"},"executionUrl":"http://execution-node:8545","name":"default-endpoint"}]An array of endpoints to use for assertoor -- executionUrl & consensusUrl are the only required fields
extraContainerslist[]Additional containers
extraEnvlist[]Additional env variables
extraPortslist[]Additional ports. Useful when using extraContainers
extraVolumeMountslist[]Additional volume mounts
extraVolumeslist[]Additional volumes
fullnameOverridestring""Overrides the chart's computed fullname
globalVariablesobject{"walletPrivkey":"feedbeef12340000feedbeef12340000feedbeef12340000feedbeef12340000"}global assertoor variables -- global variables are passed to all tests.
httpPortint8080HTTP port for assertoor interface
image.pullPolicystring"IfNotPresent"assertoor container pull policy
image.repositorystring"ethpandaops/assertoor"assertoor container image repository
image.tagstring"latest"assertoor container image tag
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
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
persistence.accessModeslist["ReadWriteOnce"]Access mode for the volume claim template
persistence.annotationsobject{}Annotations for volume claim template
persistence.enabledboolfalseUses an EmptyDir when not enabled
persistence.existingClaimstringnilUse an existing PVC when persistence.enabled
persistence.selectorobject{}Selector for volume claim template
persistence.sizestring"5Gi"Requested size for volume claim template
persistence.storageClassNamestringnilUse a specific storage class E.g 'local-path' for local storage to achieve best performance Read more (https://github.com/rancher/local-path-provisioner)
persistentVolumeClaimRetentionPolicyobject{}PersistentVolumeClaim retention policy for the StatefulSet's volumeClaimTemplates (whenDeleted, whenScaled: Retain or Delete). Not rendered when empty, so Kubernetes keeps its default of retaining the PVCs. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
podAnnotationsobject{}Pod annotations
podDisruptionBudgetobject{}Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created
podLabelsobject{}Pod labels
podManagementPolicystring"OrderedReady"Pod management policy
priorityClassNamestringnilPod priority class
resourcesobject{}Resource requests and limits
securityContextobjectSee values.yamlThe security context for pods
service.typestring"ClusterIP"Service type
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
terminationGracePeriodSecondsint30How long to wait until the pod is forcefully terminated
tolerationslist[]Tolerations for pods
topologySpreadConstraintslist[]Topology Spread Constraints for pods
updateStrategyobject{"type":"RollingUpdate"}Update strategy for the Statefulset
updateStrategy.typestring"RollingUpdate"Update strategy type
validatorNamesInventorystring""This can be a url here for example: -- "https://config.dencun-devnet-8.ethpandaops.io/api/v1/nodes/validator-ranges" -- If you want to use a local range file define it in the values.yaml validatorNamesRanges section
validatorNamesRangesstring"0-1: test\n"

Deploy assertoor with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has assertoor 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 chartassertoor is pinned at v1.2.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