aboutsummaryrefslogtreecommitdiff
path: root/templates/hpa.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-09-23 11:49:15 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-09-23 11:49:15 +0200
commitd9b074d04c2d239cadb4ad82d756800df1ae886a (patch)
tree7305748365f654dcc4df8989f811990b3094bb70 /templates/hpa.yaml
parentdbc36835a16f3c4f7e813a8a536c0922ef1f6bbd (diff)
Put yaml document markers inside enabled blocks
Diffstat (limited to 'templates/hpa.yaml')
-rw-r--r--templates/hpa.yaml4
1 files changed, 2 insertions, 2 deletions
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 }}