From bb1d6f3823310554875418a7889a318a432413d3 Mon Sep 17 00:00:00 2001 From: almahmoud Date: Thu, 30 Sep 2021 17:25:48 -0400 Subject: [PATCH] Remove double separator, fix linting --- galaxy/templates/ingress-activity-canary.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/galaxy/templates/ingress-activity-canary.yaml b/galaxy/templates/ingress-activity-canary.yaml index 3f16b6a6..4a77132c 100644 --- a/galaxy/templates/ingress-activity-canary.yaml +++ b/galaxy/templates/ingress-activity-canary.yaml @@ -2,13 +2,12 @@ # on activity. A 200 on this endpoint indicates that a user # is active on the system, and the cluster can be autoscaled # in anticipation of jobs ---- -{{- if .Values.ingress.canary.enabled -}} +{{ if .Values.ingress.canary.enabled -}} {{- $fullName := include "galaxy.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} {{- $servicePort := .Values.service.port -}} {{- $k8s_version := .Capabilities.KubeVersion.Version | toString }} -{{- if semverCompare "^1.19.0-0" $k8s_version -}} +{{- if semverCompare "^1.19.0-0" $k8s_version }} apiVersion: networking.k8s.io/v1 {{- else if semverCompare "^1.14.0-0" $k8s_version -}} apiVersion: networking.k8s.io/v1beta1