diff --git a/charts/tempo-distributed/templates/compactor/hpa.yaml b/charts/tempo-distributed/templates/compactor/hpa.yaml index 0df8ac6307..7ee1dc6c4c 100644 --- a/charts/tempo-distributed/templates/compactor/hpa.yaml +++ b/charts/tempo-distributed/templates/compactor/hpa.yaml @@ -4,6 +4,7 @@ apiVersion: {{ $apiVersion }} kind: HorizontalPodAutoscaler metadata: name: {{ include "tempo.resourceName" (dict "ctx" . "component" "compactor") }} + namespace: {{ .Release.Namespace }} labels: {{- include "tempo.labels" (dict "ctx" . "component" "compactor") | nindent 4 }} spec: diff --git a/charts/tempo-distributed/templates/compactor/keda-scaledObject.yaml b/charts/tempo-distributed/templates/compactor/keda-scaledObject.yaml index 2763dcedf2..180bad5c0d 100644 --- a/charts/tempo-distributed/templates/compactor/keda-scaledObject.yaml +++ b/charts/tempo-distributed/templates/compactor/keda-scaledObject.yaml @@ -3,6 +3,7 @@ apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name: {{ include "tempo.resourceName" (dict "ctx" . "component" "compactor") }} + namespace: {{ .Release.Namespace }} labels: {{- include "tempo.labels" (dict "ctx" . "component" "compactor") | nindent 4 }} spec: