diff --git a/charts/erpc/Chart.yaml b/charts/erpc/Chart.yaml index 015a0fd7..dcd9ebf6 100644 --- a/charts/erpc/Chart.yaml +++ b/charts/erpc/Chart.yaml @@ -3,7 +3,7 @@ name: erpc description: eRPC is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage. home: https://github.com/erpc/erpc type: application -version: 0.0.1 +version: 0.0.2 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/erpc/README.md b/charts/erpc/README.md index 9421a440..41dfe088 100644 --- a/charts/erpc/README.md +++ b/charts/erpc/README.md @@ -1,7 +1,7 @@ # erpc -![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) eRPC is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage. diff --git a/charts/erpc/templates/_helpers.tpl b/charts/erpc/templates/_helpers.tpl index 086d888a..3d9565a5 100644 --- a/charts/erpc/templates/_helpers.tpl +++ b/charts/erpc/templates/_helpers.tpl @@ -60,3 +60,10 @@ Create the name of the service account to use {{- default "default" .Values.serviceAccount.name }} {{- end }} {{- end }} + +{{/* +Get the HTTP port from values or default to 4000 +*/}} +{{- define "erpc.http" -}} +{{- default 4000 .Values.httpPort }} +{{- end }} diff --git a/charts/erpc/values.yaml b/charts/erpc/values.yaml index 41056a0a..3d826163 100644 --- a/charts/erpc/values.yaml +++ b/charts/erpc/values.yaml @@ -28,13 +28,13 @@ config: | httpHostV4: "0.0.0.0" listenV6: true httpHostV6: "[::]" - httpPort: 4000 + httpPort: {{ .Values.httpPort }} metrics: enabled: true hostV4: "0.0.0.0" hostV6: "[::]" - port: 4001 + port: {{ .Values.metricsPort }} projects: - id: main @@ -91,7 +91,8 @@ annotations: {} # -- Liveness probe # @default -- See `values.yaml` livenessProbe: - tcpSocket: + httpGet: + path: /healthcheck port: http initialDelaySeconds: 60 periodSeconds: 120 @@ -99,7 +100,8 @@ livenessProbe: # -- Readiness probe # @default -- See `values.yaml` readinessProbe: - tcpSocket: + httpGet: + path: /healthcheck port: http initialDelaySeconds: 10 periodSeconds: 10