From fa4702714e99468e511175a2383dd0741261706c Mon Sep 17 00:00:00 2001 From: chgl Date: Wed, 28 Apr 2021 17:50:37 +0200 Subject: [PATCH] Update charts/argo-workflows/templates/_helpers.tpl Signed-off-by: chgl Co-authored-by: Brandon Mayfield <563214+bmayfi3ld@users.noreply.github.com> Signed-off-by: chgl --- charts/argo-workflows/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-workflows/templates/_helpers.tpl b/charts/argo-workflows/templates/_helpers.tpl index 14dd315a..1f978c0b 100644 --- a/charts/argo-workflows/templates/_helpers.tpl +++ b/charts/argo-workflows/templates/_helpers.tpl @@ -85,7 +85,7 @@ Create the name of the controller service account to use {{/* Return the appropriate apiVersion for ingress */}} -{{- define "argo-cd.ingress.apiVersion" -}} +{{- define "argo-workflows.ingress.apiVersion" -}} {{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}}