From 33ee018b5242fcc47d9cd893e8b2462a116a8a82 Mon Sep 17 00:00:00 2001 From: joelgallant Date: Thu, 26 Nov 2020 01:20:12 +0800 Subject: [PATCH] Fixes access of Capabilities variable (#67) Fixes access of Capabilities variable Co-authored-by: Joel Gallant Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/67 Reviewed-by: techknowlogick Reviewed-by: luhahn Co-Authored-By: joelgallant Co-Committed-By: joelgallant --- templates/gitea/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea/ingress.yaml b/templates/gitea/ingress.yaml index d248fbe..297c3ea 100644 --- a/templates/gitea/ingress.yaml +++ b/templates/gitea/ingress.yaml @@ -35,7 +35,7 @@ spec: paths: - path: / backend: - {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion -}} service: name: {{ $fullName }}-http port: