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 -}}