From 27c61c24b32a0fbe37d626ede6a6e8b27ab49821 Mon Sep 17 00:00:00 2001
From: Marc Burnie <mburnie@amazon.com>
Date: Tue, 26 Jul 2022 16:28:04 -0500
Subject: [PATCH] correcting hpa resource

---
 devops/aws/chart/templates/hpa.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/devops/aws/chart/templates/hpa.yaml b/devops/aws/chart/templates/hpa.yaml
index 488881136..ffbccc034 100644
--- a/devops/aws/chart/templates/hpa.yaml
+++ b/devops/aws/chart/templates/hpa.yaml
@@ -3,9 +3,7 @@
 HPA
 REQUIRED VALUES: [autoscaling, namespace]
 */ -}}
-{{- define "service.hpa" -}}
-{{- if .Values.autoscaling.enabled }}
 {{- template "common.hpa" (list . "service.hpa") -}}
+{{- define "service.hpa" -}}
 ## Define overrides for the service HPA resource here
-{{- end }}
 {{- end -}}
-- 
GitLab