From e5205bd81bcb800500de71798822428eb220a181 Mon Sep 17 00:00:00 2001 From: Wesley Charles Blake Date: Wed, 11 Mar 2026 11:29:45 +0200 Subject: [PATCH] prep v0.5.1 chart release --- charts/validator/Chart.yaml | 2 +- charts/validator/README.md | 13 +++++-------- charts/validator/templates/deployment-vao.yaml | 6 +++--- charts/validator/templates/deployment.yaml | 2 +- charts/validator/templates/serviceaccount.yaml | 2 +- charts/validator/values.yaml | 4 ++-- 6 files changed, 13 insertions(+), 16 deletions(-) diff --git a/charts/validator/Chart.yaml b/charts/validator/Chart.yaml index 854cb585..c6cab2d4 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.5.1-pre.2" +version: "0.5.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 diff --git a/charts/validator/README.md b/charts/validator/README.md index 2c069101..04917ee9 100644 --- a/charts/validator/README.md +++ b/charts/validator/README.md @@ -1,6 +1,6 @@ # validator -![Version: 0.5.1-pre.2](https://img.shields.io/badge/Version-0.5.1--pre.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.71.6](https://img.shields.io/badge/AppVersion-0.71.6-informational?style=flat-square) +![Version: 0.5.1](https://img.shields.io/badge/Version-0.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.71.6](https://img.shields.io/badge/AppVersion-0.71.6-informational?style=flat-square) A Helm chart for deploying Chronicle Validator on Kubernetes @@ -16,9 +16,9 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | Key | Type | Default | Description | |-----|------|---------|-------------| | extraObjects | list | `[]` | Extra K8s manifests to deploy | -| ghost | object | `{"argsOverride":[],"commandOverride":null,"env":{"normal":{},"raw":{}},"ethConfig":{},"image":{"repository":null,"tag":null},"rpcUrl":null,"service":{"annotations":{},"ports":{"libp2p":{"port":8000,"protocol":"TCP"}},"type":"LoadBalancer"},"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"}` | Values for Ghost | +| ghost | object | `{"argsOverride":[],"commandOverride":[],"env":{"normal":{},"raw":{}},"ethConfig":{},"image":{"repository":null,"tag":null},"rpcUrl":null,"service":{"annotations":{},"ports":{"libp2p":{"port":8000,"protocol":"TCP"}},"type":"LoadBalancer"},"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"}` | Values for Ghost | | ghost.argsOverride | list | `[]` | args override for the validator | -| ghost.commandOverride | string | `nil` | command override for the validator | +| ghost.commandOverride | list | `[]` | command override for the validator | | ghost.env | object | `{"normal":{},"raw":{}}` | Environment variable listing | | ghost.env.normal | object | `{}` | un-encrypted env vars passed to the pod | | ghost.ethConfig | object | `{}` | Provide ETH keys from existing secrets : **NB** use only existing secret OR env vars, do not provide both | @@ -28,8 +28,7 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | ghost.service.ports.libp2p | object | `{"port":8000,"protocol":"TCP"}` | libp2p port for the validator service | | ghost.service.type | string | `"LoadBalancer"` | Type of service for the validator, only `LoadBalancer` supported for now | | ghost.watchdogConfigReg | string | `"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"` | WATCHDOG onchain config address | -| global | object | `{"affinity":{},"chainId":1,"chainName":"eth","chainTxType":"eip1559","fullnameOverride":"ghost","image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":""},"imagePullSecrets":[],"liveness":{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"logFormat":"text","logLevel":"info","metrics":{"enabled":true,"port":9090},"nameOverride":"","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"readiness":{"enabled":true,"readinessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"replicaCount":1,"resources":{},"securityContext":{},"serviceAccount":{"annotations":{},"create":"true","name":""},"tolerations":[]}` | Global values for the validator chart, values are used across the chart resources | -| global | object | `{"affinity":{},"chainId":1,"chainName":"eth","chainTxType":"eip1559","fullnameOverride":"ghost","image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":""},"imagePullSecrets":[],"liveness":{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"logFormat":"text","logLevel":"info","metrics":{"enabled":true,"port":9090},"nameOverride":"","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"readiness":{"enabled":true,"readinessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"replicaCount":1,"resources":{},"securityContext":{},"serviceAccount":{"annotations":{},"create":"true","name":""},"tolerations":[]}` | Global values for the validator chart, values are used across the chart resources | +| global | object | `{"affinity":{},"chainId":1,"chainName":"eth","chainTxType":"eip1559","fullnameOverride":"ghost","image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":""},"imagePullSecrets":[],"liveness":{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"logFormat":"text","logLevel":"info","metrics":{"enabled":true,"port":9090},"nameOverride":"","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"readiness":{"enabled":true,"readinessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}},"replicaCount":1,"resources":{},"securityContext":{},"serviceAccount":{"annotations":{},"create":true,"name":""},"tolerations":[]}` | Global values for the validator chart, values are used across the chart resources | | global.affinity | object | `{}` | pod Affinity spec applied validator | | global.chainId | int | `1` | chain id for the "target" or "main" chain we use for the validator. Can be mainnet ethereum `1` or sepolia ethereum `11155111` | | global.chainName | string | `"eth"` | chain name for the "target" or "main" chain we use for the validator | @@ -37,8 +36,6 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | global.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 | | global.image | object | `{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":""}` | Image for the validator | | global.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | -| global.image | object | `{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":""}` | Image for the validator | -| global.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | global.liveness | object | `{"enabled":true,"livenessProbe":{"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":30,"periodSeconds":60}}` | Liveness probe : restart the validator if the healthcheck endpoint is not reachable | | global.logFormat | string | `"text"` | Log format for the validator, can be one of `json`, `text` | | global.logLevel | string | `"info"` | Log level for the validator, can be one of `debug`, `info`, `warning`, `error` | @@ -50,7 +47,7 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | global.resources | object | `{}` | Resources constraints for the validator, CPU, Memory, etc. | | global.securityContext | object | `{}` | Security context for the validator | | global.serviceAccount.annotations | object | `{}` | Annotations to add to the service account | -| global.serviceAccount.create | string | `"true"` | Specifies whether a service account should be created | +| global.serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | global.serviceAccount.name | string | `""` | If not set and create is true, a name is generated using the fullname template | | global.tolerations | list | `[]` | Tolerations applied validator | | serviceMonitor.annotations | object | `{}` | Additional ServiceMonitor annotations | diff --git a/charts/validator/templates/deployment-vao.yaml b/charts/validator/templates/deployment-vao.yaml index 3f0ac1de..b4f4842f 100644 --- a/charts/validator/templates/deployment-vao.yaml +++ b/charts/validator/templates/deployment-vao.yaml @@ -82,9 +82,9 @@ spec: - name: WATCHDOG_CONFIG_REGISTRY value: {{ .Values.vao.watchdogConfigReg | quote }} - {{- if .Values.ghost.watchdogInterval }} + {{- if .Values.vao.watchdogInterval }} - name: WATCHDOG_INTERVAL - value: {{ .Values.ghost.watchdogInterval | quote }} + value: {{ .Values.vao.watchdogInterval | quote }} - name: WATCHDOG_SCHEDULE value: "" {{- end }} @@ -102,7 +102,7 @@ spec: value: {{ .Values.ghost.rpcUrl | quote }} {{- if .Values.global.chainTxType }} - name: CFG_CHAIN_TX_TYPE - value: {{ .Values.global.chainTxType | default "eip1559" quote }} + value: {{ .Values.global.chainTxType | default "eip1559" | quote }} {{- end }} ### -- ETH KEYSTORE FROM EXISTING SECRET diff --git a/charts/validator/templates/deployment.yaml b/charts/validator/templates/deployment.yaml index 53fccd2c..636f32d5 100644 --- a/charts/validator/templates/deployment.yaml +++ b/charts/validator/templates/deployment.yaml @@ -104,7 +104,7 @@ spec: value: {{ .Values.ghost.rpcUrl | quote }} {{- if .Values.global.chainTxType }} - name: CFG_CHAIN_TX_TYPE - value: {{ .Values.global.chainTxType | default "eip1559" quote }} + value: {{ .Values.global.chainTxType | default "eip1559" | quote }} {{- end }} ### -- ETH KEYSTORE FROM EXISTING SECRET diff --git a/charts/validator/templates/serviceaccount.yaml b/charts/validator/templates/serviceaccount.yaml index d404650c..5d7e547e 100644 --- a/charts/validator/templates/serviceaccount.yaml +++ b/charts/validator/templates/serviceaccount.yaml @@ -1,4 +1,4 @@ -{{- if eq (default "false" .Values.global.serviceAccount.create) "true" }} +{{- if .Values.global.serviceAccount.create }} apiVersion: v1 kind: ServiceAccount metadata: diff --git a/charts/validator/values.yaml b/charts/validator/values.yaml index bb6e18c5..71da374f 100644 --- a/charts/validator/values.yaml +++ b/charts/validator/values.yaml @@ -21,7 +21,7 @@ global: serviceAccount: # -- Specifies whether a service account should be created - create: "true" + create: true # -- Annotations to add to the service account annotations: {} # iam.amazonaws.com/role: arn:aws:iam::123456789012:role/role-name @@ -129,7 +129,7 @@ ghost: # watchdogInterval: "300s" # -- command override for the validator - commandOverride: + commandOverride: [] # default (baked in the image): # - "/usr/local/bin/watchdog" # - "/usr/local/bin/chronicle-app"