fix(helm): Add release namespace metadata to HorizontalPodAutoscaling that lack it (#18453)

Signed-off-by: Rhea Danzey <rdanzey@element.io>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
pull/18517/head
Rhea Danzey 11 months ago committed by GitHub
parent e03b9b9f92
commit faae40ab78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      production/helm/loki/templates/backend/hpa.yaml
  2. 1
      production/helm/loki/templates/distributor/hpa.yaml
  3. 1
      production/helm/loki/templates/read/hpa.yaml
  4. 1
      production/helm/loki/templates/single-binary/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:

@ -5,6 +5,7 @@ apiVersion: {{ $apiVersion }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "loki.distributorFullname" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "loki.distributorLabels" . | nindent 4 }}
spec:

@ -9,6 +9,7 @@ apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "loki.readFullname" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "loki.readLabels" . | nindent 4 }}
spec:

@ -10,6 +10,7 @@ apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "loki.singleBinaryFullname" . }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "loki.singleBinaryLabels" . | nindent 4 }}
spec:

Loading…
Cancel
Save