From 430b3f0dffce0f99df26f09fcea1aeb8f97bfdda Mon Sep 17 00:00:00 2001 From: Vladyslav Deryhin Date: Wed, 14 Aug 2024 10:45:51 +0300 Subject: [PATCH] [bor] fix ingress ports --- dysnix/bor/Chart.yaml | 4 ++-- dysnix/bor/templates/ingress-http.yaml | 2 +- dysnix/bor/templates/ingress-ws.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dysnix/bor/Chart.yaml b/dysnix/bor/Chart.yaml index 40132b6d..f4202484 100644 --- a/dysnix/bor/Chart.yaml +++ b/dysnix/bor/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: bor description: Polygon Bor execution layer node Helm chart -version: 0.0.7 -appVersion: "1.1.0" +version: 0.0.8 +appVersion: "1.3.7" keywords: - geth diff --git a/dysnix/bor/templates/ingress-http.yaml b/dysnix/bor/templates/ingress-http.yaml index 544a6ecc..2cc30a73 100644 --- a/dysnix/bor/templates/ingress-http.yaml +++ b/dysnix/bor/templates/ingress-http.yaml @@ -1,6 +1,6 @@ {{- if and .Values.services.rpc.enabled .Values.ingress.http.enabled -}} {{- $fullName := include "bor.fullname" . -}} -{{- $svcPort := .Values.services.rpc.httpPort -}} +{{- $svcPort := .Values.services.rpc.http.port -}} {{- if and .Values.ingress.http.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} {{- if not (hasKey .Values.ingress.http.annotations "kubernetes.io/ingress.class") }} {{- $_ := set .Values.ingress.http.annotations "kubernetes.io/ingress.class" .Values.ingress.http.className}} diff --git a/dysnix/bor/templates/ingress-ws.yaml b/dysnix/bor/templates/ingress-ws.yaml index 351b3e45..ddcdcc83 100644 --- a/dysnix/bor/templates/ingress-ws.yaml +++ b/dysnix/bor/templates/ingress-ws.yaml @@ -1,6 +1,6 @@ {{- if and .Values.services.rpc.enabled .Values.ingress.ws.enabled -}} {{- $fullName := include "bor.fullname" . -}} -{{- $svcPort := .Values.services.rpc.wsPort -}} +{{- $svcPort := .Values.services.rpc.ws.port -}} {{- if and .Values.ingress.ws.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} {{- if not (hasKey .Values.ingress.ws.annotations "kubernetes.io/ingress.class") }} {{- $_ := set .Values.ingress.ws.annotations "kubernetes.io/ingress.class" .Values.ingress.ws.className}}