Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/validator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 5 additions & 8 deletions charts/validator/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand All @@ -28,17 +28,14 @@ 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 |
| global.chainTxType | string | `"eip1559"` | chain tx type for the "target" or "main" chain we use for the validator. Can be mainnet ethereum `eip1559` or `legacy` |
| 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` |
Expand All @@ -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 |
Expand Down
6 changes: 3 additions & 3 deletions charts/validator/templates/deployment-vao.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/validator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/validator/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (default "false" .Values.global.serviceAccount.create) "true" }}
{{- if .Values.global.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
4 changes: 2 additions & 2 deletions charts/validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
Loading