aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/hpa.yaml4
-rw-r--r--templates/ingress.yaml4
2 files changed, 4 insertions, 4 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 }}
diff --git a/templates/ingress.yaml b/templates/ingress.yaml
index b51d695..b1b2ec0 100644
--- a/templates/ingress.yaml
+++ b/templates/ingress.yaml
@@ -1,5 +1,5 @@
----
{{- if .Values.ingress.enabled -}}
+---
{{- $fullName := include "invidious.fullname" . -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
@@ -38,5 +38,5 @@ spec:
number: {{ $.Values.service.port }}
{{- end }}
{{- end }}
-{{- end }}
...
+{{- end }}