From 64cc4861c80a71d7a914099de552748000b75e16 Mon Sep 17 00:00:00 2001 From: Jamie Zieziula Date: Thu, 14 Nov 2024 12:11:17 -0500 Subject: [PATCH] fix: correctly reference `ingress.servicePort` within `range` (#413) refer to root context when referencing the ingress service port value Co-authored-by: jamie zieziula --- charts/prefect-server/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prefect-server/templates/ingress.yaml b/charts/prefect-server/templates/ingress.yaml index 73f6361d..69016c71 100644 --- a/charts/prefect-server/templates/ingress.yaml +++ b/charts/prefect-server/templates/ingress.yaml @@ -45,7 +45,7 @@ spec: {{- if eq "true" (include "common.ingress.supportsPathType" $) }} pathType: {{ default "ImplementationSpecific" .pathType }} {{- end }} - backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" .Values.ingress.servicePort "context" $) | nindent 14 }} + backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" $.Values.ingress.servicePort "context" $) | nindent 14 }} {{- end }} {{- if .Values.ingress.extraRules }} {{- include "common.tplvalues.render" (dict "value" .Values.ingress.extraRules "context" $) | nindent 4 }}