From 35f4f21b65884ca3d7e9d86a8c2bfa1ebe999522 Mon Sep 17 00:00:00 2001 From: Jeromy Cannon Date: Wed, 24 Jan 2024 13:40:33 +0000 Subject: [PATCH] feedback from PR review Signed-off-by: Jeromy Cannon --- .../charts/hedera-explorer/templates/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml index 72988f188..ca8cbe104 100644 --- a/charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml +++ b/charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml @@ -13,8 +13,8 @@ metadata: name: {{ $fullName }} namespace: {{ include "hedera-explorer.namespace" . }} spec: - {{- if or $.Values.global.ingressClassName .Values.ingress.className }} - ingressClassName: {{ $.Values.global.ingressClassName | default .Values.ingress.className }} + {{- with (coalesce .Values.global.ingressClassName .Values.ingress.className) }} + ingressClassName: {{ . }} {{- end }} rules: {{- range .Values.ingress.hosts }}