From d9b074d04c2d239cadb4ad82d756800df1ae886a Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 23 Sep 2022 11:49:15 +0200
Subject: Put yaml document markers inside enabled blocks
---
templates/hpa.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'templates/hpa.yaml')
diff --git a/templates/hpa.yaml b/templates/hpa.yaml
index fe1f4e4..41f2d40 100644
--- a/templates/hpa.yaml
+++ b/templates/hpa.yaml
@@ -1,5 +1,5 @@
----
{{- if .Values.autoscaling.enabled }}
+---
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
@@ -14,5 +14,5 @@ spec:
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
targetCPUUtilizationPercentage: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
-{{- end }}
...
+{{- end }}
--
cgit v1.1