diff --git a/charts/validator/Chart.yaml b/charts/validator/Chart.yaml index a4b8635..8f24cb1 100644 --- a/charts/validator/Chart.yaml +++ b/charts/validator/Chart.yaml @@ -22,11 +22,11 @@ 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.24 +version: 0.3.25 # 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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.47.8" +appVersion: "0.53.0" diff --git a/charts/validator/README.md b/charts/validator/README.md index e05a892..44bb26d 100644 --- a/charts/validator/README.md +++ b/charts/validator/README.md @@ -1,6 +1,6 @@ # validator -![Version: 0.3.24](https://img.shields.io/badge/Version-0.3.24-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.47.8](https://img.shields.io/badge/AppVersion-0.47.8-informational?style=flat-square) +![Version: 0.3.25](https://img.shields.io/badge/Version-0.3.25-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-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,"argsOverride":[],"bnbRpcUrl":null,"chainId":"1","chainName":"eth","chainTxType":null,"commandOverride":[],"env":{"normal":{}},"ethArchRpcUrl":null,"ethConfig":{},"ethRpcUrl":null,"fullnameOverride":"ghost","gnoRpcUrl":null,"image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.47.8@sha256:c675afa5ecb41ca1787dd71e27837f999a4aa2b943f4477c12543bbde9e90fae"},"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","metrics":{"enabled":true,"port":9090},"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"},"webapi":{"port":8080,"protocol":"TCP"}},"type":"LoadBalancer"},"serviceAccount":{"annotations":{},"create":true,"name":""},"tolerations":[],"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3","watchdogInterval":"900s","webApi":{"enabled":true,"listenAddr":"0.0.0.0:8080"}}` | Values for Ghost | +| ghost | object | `{"affinity":{},"arbRpcUrl":null,"argsOverride":[],"bnbRpcUrl":null,"chainId":"1","chainName":"eth","chainTxType":null,"commandOverride":[],"env":{"normal":{}},"ethArchRpcUrl":null,"ethConfig":{},"ethRpcUrl":null,"fullnameOverride":"ghost","gnoRpcUrl":null,"image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.53.0@sha256:8d9a90a902821578baf5b925653a6f8e7ede03c90d3b3fc8382e048d5a6bf201"},"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","metrics":{"enabled":true,"port":9090},"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"},"webapi":{"port":8080,"protocol":"TCP"}},"type":"LoadBalancer"},"serviceAccount":{"annotations":{},"create":true,"name":""},"tolerations":[],"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3","watchdogInterval":"300s","webApi":{"enabled":true,"listenAddr":"0.0.0.0:8080"}}` | Values for Ghost | | ghost.affinity | object | `{}` | pod Affinity spec applied validator | | ghost.arbRpcUrl | string | `nil` | RPC url for ARB | | ghost.argsOverride | list | `[]` | args override for the validator | @@ -32,7 +32,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.47.8@sha256:c675afa5ecb41ca1787dd71e27837f999a4aa2b943f4477c12543bbde9e90fae"` | Overrides the image tag whose default is the chart appVersion. | +| ghost.image.tag | string | `"0.53.0@sha256:8d9a90a902821578baf5b925653a6f8e7ede03c90d3b3fc8382e048d5a6bf201"` | 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 | @@ -60,7 +60,7 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | ghost.serviceAccount.name | string | `""` | If not set and create is true, a name is generated using the fullname template | | ghost.tolerations | list | `[]` | Tolerations applied validator | | ghost.watchdogConfigReg | string | `"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"` | WATCHDOG onchain config address | -| ghost.watchdogInterval | string | `"900s"` | WATCHDOG polling interval (in seconds) | +| ghost.watchdogInterval | string | `"300s"` | WATCHDOG polling interval (in seconds) | | ghost.webApi | object | `{"enabled":true,"listenAddr":"0.0.0.0:8080"}` | WEB API (tor-proxy) | | ghost.webApi.enabled | bool | `true` | Enables the web api and deploys the tor-proxy subchart | | ghost.webApi.listenAddr | string | `"0.0.0.0:8080"` | Listen address for the web api | @@ -78,5 +78,3 @@ A Helm chart for deploying Chronicle Validator on Kubernetes | tor-proxy | object | `{"enabled":true}` | Values for Tor Proxy (subchart of ghost) | | 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.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/charts/validator/templates/clusterrole.yaml b/charts/validator/templates/clusterrole.yaml index 6275d6f..758d30a 100644 --- a/charts/validator/templates/clusterrole.yaml +++ b/charts/validator/templates/clusterrole.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ .Release.Name }}-clusterrole + name: {{ include "validator.fullname" . }}-clusterrole rules: - apiGroups: [""] resources: ["nodes"] diff --git a/charts/validator/templates/clusterrolebinding.yaml b/charts/validator/templates/clusterrolebinding.yaml index b761c75..dcba399 100644 --- a/charts/validator/templates/clusterrolebinding.yaml +++ b/charts/validator/templates/clusterrolebinding.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.Name }}-clusterrolebinding + name: {{ include "validator.fullname" . }}-clusterrolebinding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/charts/validator/templates/role.yaml b/charts/validator/templates/role.yaml index 39a4eb0..2529a93 100644 --- a/charts/validator/templates/role.yaml +++ b/charts/validator/templates/role.yaml @@ -8,4 +8,5 @@ rules: verbs: ["get", "list"] - apiGroups: [""] resources: ["configmaps"] + resourceNames: ["{{ include "validator.fullname" . }}-scripts"] verbs: ["create","delete","get","list","patch","update","watch"] diff --git a/charts/validator/values.yaml b/charts/validator/values.yaml index d4566d4..1e2e5cd 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.47.8@sha256:c675afa5ecb41ca1787dd71e27837f999a4aa2b943f4477c12543bbde9e90fae" + tag: "0.53.0@sha256:8d9a90a902821578baf5b925653a6f8e7ede03c90d3b3fc8382e048d5a6bf201" # -- Log level for the validator, can be one of `debug`, `info`, `warning`, `error` logLevel: info @@ -47,7 +47,7 @@ ghost: # -- WATCHDOG onchain config address watchdogConfigReg: "0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3" # -- WATCHDOG polling interval (in seconds) - watchdogInterval: "900s" + watchdogInterval: "300s" # -- libp2p buffer size libp2pSubscriptionBufferSize: '4096'