diff --git a/charts/validator/Chart.yaml b/charts/validator/Chart.yaml index c473ff6a..a6586d61 100644 --- a/charts/validator/Chart.yaml +++ b/charts/validator/Chart.yaml @@ -22,7 +22,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.3.4 +version: 0.3.5 # 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 diff --git a/charts/validator/README.md b/charts/validator/README.md index 312ae000..ae9b4699 100644 --- a/charts/validator/README.md +++ b/charts/validator/README.md @@ -1,6 +1,6 @@ # validator -![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.37.2](https://img.shields.io/badge/AppVersion-0.37.2-informational?style=flat-square) +![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.37.2](https://img.shields.io/badge/AppVersion-0.37.2-informational?style=flat-square) A Helm chart for deploying Chronicle Validator on Kubernetes @@ -16,7 +16,7 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | Key | Type | Default | Description | |-----|------|---------|-------------| | extraObjects | list | `[]` | Extra K8s manifests to deploy | -| ghost | object | `{"affinity":{},"arbRpcUrl":null,"chainId":"1","chainName":"eth","chainTxType":null,"env":{"normal":{}},"ethArchRpcUrl":null,"ethConfig":{},"ethRpcUrl":null,"fullnameOverride":"ghost","gnoRpcUrl":null,"image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.37.2@sha256:d3d2cd9aff6ed80ff89132ba06d0563ffa85d176c8d354bda0bb718fe51e799d"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific","port":8000}]}],"tls":[]},"libP2pSubscriptionBufferSize":"4096","libp2pValidateQueueSize":"4096","liveness":{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthcheck","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"logFormat":"text","logLevel":"info","mntRpcUrl":null,"nameOverride":"","nodeSelector":{},"optRpcUrl":null,"podAnnotations":{},"podSecurityContext":{},"polRpcUrl":null,"readiness":{"enabled":true,"readinessProbe":{"httpGet":{"path":"/healthcheck","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"replicaCount":1,"resources":{},"rpcUrl":null,"securityContext":{},"service":{"annotations":{},"ports":{"libp2p":{"port":8000,"protocol":"TCP"},"metrics":{"port":9100,"protocol":"TCP"},"webapi":{"port":8080,"protocol":"TCP"}},"type":"LoadBalancer"},"serviceAccount":{"annotations":{},"create":true,"name":""},"tolerations":[],"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3","watchdogInterval":"900s","webApi":{"enabled":true,"listenAddr":":8080"}}` | Values for Ghost | +| ghost | object | `{"affinity":{},"arbRpcUrl":null,"chainId":"1","chainName":"eth","chainTxType":null,"env":{"normal":{}},"ethArchRpcUrl":null,"ethConfig":{},"ethRpcUrl":null,"fullnameOverride":"ghost","gnoRpcUrl":null,"image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.42.2@sha256:66724907b479004e6a46a26175038c5cb88c88c2f47617df6e7fc3741e6d1876"},"imagePullSecrets":[],"ingress":{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific","port":8000}]}],"tls":[]},"libP2pSubscriptionBufferSize":"4096","libp2pValidateQueueSize":"4096","liveness":{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthcheck","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"logFormat":"text","logLevel":"info","mntRpcUrl":null,"nameOverride":"","nodeSelector":{},"optRpcUrl":null,"podAnnotations":{},"podSecurityContext":{},"polRpcUrl":null,"readiness":{"enabled":true,"readinessProbe":{"httpGet":{"path":"/healthcheck","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"replicaCount":1,"resources":{},"rpcUrl":null,"securityContext":{},"service":{"annotations":{},"ports":{"libp2p":{"port":8000,"protocol":"TCP"},"metrics":{"port":9100,"protocol":"TCP"},"webapi":{"port":8080,"protocol":"TCP"}},"type":"LoadBalancer"},"serviceAccount":{"annotations":{},"create":true,"name":""},"tolerations":[],"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3","watchdogInterval":"900s","webApi":{"enabled":true,"listenAddr":":8080"}}` | Values for Ghost | | ghost.affinity | object | `{}` | pod Affinity spec applied validator | | ghost.arbRpcUrl | string | `nil` | RPC url for ARB | | ghost.chainId | string | `"1"` | chain id for the "target" or "main" chain we use for the validator. Can be mainnet ethereum `1` or sepolia ethereum `11155111` | @@ -29,7 +29,7 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | ghost.ethRpcUrl | string | `nil` | RPC URL for ETH | | ghost.fullnameOverride | string | `"ghost"` | Override the release name to so tor-proxy can work with the default config. NB only change this if you know what you are doing | | ghost.gnoRpcUrl | string | `nil` | RPC url for GNO | -| ghost.image.tag | string | `"0.37.2@sha256:d3d2cd9aff6ed80ff89132ba06d0563ffa85d176c8d354bda0bb718fe51e799d"` | Overrides the image tag whose default is the chart appVersion. | +| ghost.image.tag | string | `"0.42.2@sha256:66724907b479004e6a46a26175038c5cb88c88c2f47617df6e7fc3741e6d1876"` | Overrides the image tag whose default is the chart appVersion. | | ghost.ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific","port":8000}]}],"tls":[]}` | Ingress for the validator (Do not enable ingress, as libp2p does not support path based routing yet) | | ghost.ingress.enabled | bool | `false` | Disabled by default, since there is a bug in libp2p port assignment for dns based routing | | ghost.libP2pSubscriptionBufferSize | string | `"4096"` | libp2p buffer size | @@ -77,4 +77,4 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | tor-proxy.enabled | bool | `true` | values for tor-proxy, installs [tor-controller](/crds/tor-controller.yaml) and creates an [onionService CRD](/templates/onion-service.yaml) | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/validator/ci/mainnet-envs-values.yaml b/charts/validator/ci/mainnet-envs-values.yaml index df8919ea..4a8d8cf3 100644 --- a/charts/validator/ci/mainnet-envs-values.yaml +++ b/charts/validator/ci/mainnet-envs-values.yaml @@ -22,4 +22,4 @@ ghost: CFG_ETH_PASS: "" CFG_ETH_KEYS: '{"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"22ae1be4ab7cd766e05c03e334deb9d2"},"ciphertext":"56439cc948fbecff1c252f5cede620f65821c6446ddb6d4bfa38f17754555a44","kdf":"scrypt","kdfparams":{"dklen":32,"n":8192,"p":1,"r":8,"salt":"7dcaf2f0196aa5c9d05dc15fac39ec15dbd99db2311813fd3d1d98324faf05c5"},"mac":"191ffca516d2c263402bd03e4cf1a6df60ebc833f489346fefdf0fe89138f305"},"id":"aea697d6-94d9-4433-bd69-4808597b0768","version":3}' - # WATCHDOG_ETH_FROM: "0x0000000000000000000000000000000000000000" + WATCHDOG_ETH_FROM: "0x950d6400238Cf4AF4f55020D61c201E905631356" diff --git a/charts/validator/ci/testnet-envs-values.yaml b/charts/validator/ci/testnet-envs-values.yaml index d9adfdfb..40c06987 100644 --- a/charts/validator/ci/testnet-envs-values.yaml +++ b/charts/validator/ci/testnet-envs-values.yaml @@ -27,6 +27,5 @@ ghost: CFG_ETH_KEYS: '{"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"22ae1be4ab7cd766e05c03e334deb9d2"},"ciphertext":"56439cc948fbecff1c252f5cede620f65821c6446ddb6d4bfa38f17754555a44","kdf":"scrypt","kdfparams":{"dklen":32,"n":8192,"p":1,"r":8,"salt":"7dcaf2f0196aa5c9d05dc15fac39ec15dbd99db2311813fd3d1d98324faf05c5"},"mac":"191ffca516d2c263402bd03e4cf1a6df60ebc833f489346fefdf0fe89138f305"},"id":"aea697d6-94d9-4433-bd69-4808597b0768","version":3}' CFG_ENVIRONMENT: "stage" - CFG_FEEDS: "stage" - WATCHDOG_ETH_FROM: "0x0000000000000000000000000000000000000000" + WATCHDOG_ETH_FROM: "0x0c4FC7D66b7b6c684488c1F218caA18D4082da18" diff --git a/charts/validator/templates/tests/test-connection.yaml b/charts/validator/templates/tests/test-connection.yaml index 89bdc057..21db4c52 100644 --- a/charts/validator/templates/tests/test-connection.yaml +++ b/charts/validator/templates/tests/test-connection.yaml @@ -5,6 +5,7 @@ metadata: labels: {{- include "validator.labels" . | nindent 4 }} annotations: + "helm.sh/hook-weight": "5" "helm.sh/hook": test spec: containers: diff --git a/charts/validator/templates/tests/test-logs.yaml b/charts/validator/templates/tests/test-logs.yaml index e7ab39c0..98fa8acf 100644 --- a/charts/validator/templates/tests/test-logs.yaml +++ b/charts/validator/templates/tests/test-logs.yaml @@ -5,6 +5,7 @@ metadata: labels: {{- include "validator.labels" . | nindent 4 }} annotations: + "helm.sh/hook-weight": "5" "helm.sh/hook": test spec: serviceAccountName: {{ include "validator.fullname" . }}-test diff --git a/charts/validator/templates/tests/test-sleep.yaml b/charts/validator/templates/tests/test-sleep.yaml new file mode 100644 index 00000000..47b4f744 --- /dev/null +++ b/charts/validator/templates/tests/test-sleep.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "validator.fullname" . }}-sleep" + labels: + {{- include "validator.labels" . | nindent 4 }} + annotations: + "helm.sh/hook-weight": "1" + "helm.sh/hook": test +spec: + containers: + - name: sleep + image: busybox + command: ['sleep'] + args: + - '30' + restartPolicy: Never diff --git a/charts/validator/values.yaml b/charts/validator/values.yaml index 4699dc5a..9d6252e7 100644 --- a/charts/validator/values.yaml +++ b/charts/validator/values.yaml @@ -10,7 +10,7 @@ ghost: repository: ghcr.io/chronicleprotocol/ghost pullPolicy: Always # -- Overrides the image tag whose default is the chart appVersion. - tag: "0.37.2@sha256:d3d2cd9aff6ed80ff89132ba06d0563ffa85d176c8d354bda0bb718fe51e799d" + tag: "0.42.2@sha256:66724907b479004e6a46a26175038c5cb88c88c2f47617df6e7fc3741e6d1876" # -- Log level for the validator, can be one of `debug`, `info`, `trace`, `error` logLevel: info