From bbbaeed8af3dee1e470412e48e62abe67ea57a80 Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Wed, 5 Jun 2024 17:14:18 +0300 Subject: [PATCH] fix(cf-common): keda scaledobject fallback --- charts/cf-common/templates/keda/_scaledobject.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cf-common/templates/keda/_scaledobject.tpl b/charts/cf-common/templates/keda/_scaledobject.tpl index a4fced9..4e98751 100644 --- a/charts/cf-common/templates/keda/_scaledobject.tpl +++ b/charts/cf-common/templates/keda/_scaledobject.tpl @@ -49,8 +49,8 @@ spec: maxReplicaCount: {{ .Values.keda.spec.maxReplicaCount | default 100 }} {{- if .Values.keda.spec.fallback }} fallback: - failureThreshold: {{- required "Values.keda.spec.fallback.failureThreshold is required!" .Values.keda.spec.fallback.failureThreshold }} - replicas: {{- required "Values.keda.spec.fallback.replicas is required!" .Values.keda.spec.fallback.replicas }} + failureThreshold: {{ required "Values.keda.spec.fallback.failureThreshold is required!" .Values.keda.spec.fallback.failureThreshold }} + replicas: {{ required "Values.keda.spec.fallback.replicas is required!" .Values.keda.spec.fallback.replicas }} {{- end }} {{- with .Values.keda.spec.advanced }} advanced: