From df3dfaac33f070548e554d13d10430afd0747ffb Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Tue, 16 Apr 2024 15:14:11 +0200 Subject: [PATCH] feat: add nodeport to dugtrio and blutgang (#308) --- charts/blutgang/Chart.yaml | 2 +- charts/blutgang/README.md | 2 +- charts/blutgang/ci/default-values.yaml | 3 +++ charts/blutgang/templates/service.yaml | 3 +++ charts/dugtrio/Chart.yaml | 2 +- charts/dugtrio/README.md | 2 +- charts/dugtrio/templates/service.yaml | 3 +++ 7 files changed, 13 insertions(+), 4 deletions(-) diff --git a/charts/blutgang/Chart.yaml b/charts/blutgang/Chart.yaml index 3ab353c1..4152abb4 100644 --- a/charts/blutgang/Chart.yaml +++ b/charts/blutgang/Chart.yaml @@ -7,7 +7,7 @@ icon: https://github.com/rainshowerLabs/blutgang/assets/55022497/ec668c7a-5f56-4 sources: - https://github.com/rainshowerLabs/blutgang type: application -version: 0.0.6 +version: 0.0.7 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/blutgang/README.md b/charts/blutgang/README.md index 9badeb16..daf0ec59 100644 --- a/charts/blutgang/README.md +++ b/charts/blutgang/README.md @@ -1,7 +1,7 @@ # blutgang -![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Blutgang is a blazing fast, caching, minimalistic load balancer designed with Ethereum's JSON-RPC in mind. Historical RPC queries are cached in a local database, bypassing the need for slow, repeating calls to your node. diff --git a/charts/blutgang/ci/default-values.yaml b/charts/blutgang/ci/default-values.yaml index 00e3bf1f..275dd674 100644 --- a/charts/blutgang/ci/default-values.yaml +++ b/charts/blutgang/ci/default-values.yaml @@ -13,6 +13,9 @@ config: | sort_on_startup = true # Enable health checking health_check = true + # Enable content type header checking. Set this to `true` if you want + # Blutgang to be JSON-RPC compliant. + header_check = true # Acceptable time to wait for a response in ms ttl = 300 # How many times to retry a request before giving up diff --git a/charts/blutgang/templates/service.yaml b/charts/blutgang/templates/service.yaml index 1cac61e5..f5023cc6 100644 --- a/charts/blutgang/templates/service.yaml +++ b/charts/blutgang/templates/service.yaml @@ -11,6 +11,9 @@ spec: targetPort: http protocol: TCP name: http + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} {{- if .Values.adminNamespace.enabled }} - port: {{ .Values.adminNamespace.adminPort }} targetPort: admin diff --git a/charts/dugtrio/Chart.yaml b/charts/dugtrio/Chart.yaml index 331dc248..1f37a984 100644 --- a/charts/dugtrio/Chart.yaml +++ b/charts/dugtrio/Chart.yaml @@ -6,7 +6,7 @@ home: https://github.com/ethpandaops/dugtrio sources: - https://github.com/ethpandaops/dugtrio type: application -version: 0.0.4 +version: 0.0.5 appVersion: "1.0.0" maintainers: - name: pk910 diff --git a/charts/dugtrio/README.md b/charts/dugtrio/README.md index f1bbafbf..c837fc9f 100644 --- a/charts/dugtrio/README.md +++ b/charts/dugtrio/README.md @@ -1,7 +1,7 @@ # dugtrio -![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Fault tolerant load balancer for beacon chain RPC apis diff --git a/charts/dugtrio/templates/service.yaml b/charts/dugtrio/templates/service.yaml index f23181e7..18fe5436 100644 --- a/charts/dugtrio/templates/service.yaml +++ b/charts/dugtrio/templates/service.yaml @@ -11,6 +11,9 @@ spec: targetPort: http protocol: TCP name: http + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} {{- if .Values.extraPorts }} {{ toYaml .Values.extraPorts | nindent 4}} {{- end }}