diff --git a/production/helm/loki/templates/backend/hpa.yaml b/production/helm/loki/templates/backend/hpa.yaml index ea834d6e09..f9e7e106f2 100644 --- a/production/helm/loki/templates/backend/hpa.yaml +++ b/production/helm/loki/templates/backend/hpa.yaml @@ -9,6 +9,7 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ include "loki.backendFullname" . }} + namespace: {{ $.Release.Namespace }} labels: {{- include "loki.backendLabels" . | nindent 4 }} spec: diff --git a/production/helm/loki/templates/distributor/hpa.yaml b/production/helm/loki/templates/distributor/hpa.yaml index 838a310048..582a4fac1d 100644 --- a/production/helm/loki/templates/distributor/hpa.yaml +++ b/production/helm/loki/templates/distributor/hpa.yaml @@ -5,6 +5,7 @@ apiVersion: {{ $apiVersion }} kind: HorizontalPodAutoscaler metadata: name: {{ include "loki.distributorFullname" . }} + namespace: {{ $.Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} spec: diff --git a/production/helm/loki/templates/read/hpa.yaml b/production/helm/loki/templates/read/hpa.yaml index de5afcc11d..7846642857 100644 --- a/production/helm/loki/templates/read/hpa.yaml +++ b/production/helm/loki/templates/read/hpa.yaml @@ -9,6 +9,7 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ include "loki.readFullname" . }} + namespace: {{ $.Release.Namespace }} labels: {{- include "loki.readLabels" . | nindent 4 }} spec: diff --git a/production/helm/loki/templates/single-binary/hpa.yaml b/production/helm/loki/templates/single-binary/hpa.yaml index c529f1899f..8e77648ba4 100644 --- a/production/helm/loki/templates/single-binary/hpa.yaml +++ b/production/helm/loki/templates/single-binary/hpa.yaml @@ -10,6 +10,7 @@ apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: {{ include "loki.singleBinaryFullname" . }} + namespace: {{ $.Release.Namespace }} labels: {{- include "loki.singleBinaryLabels" . | nindent 4 }} spec: