diff --git a/keda/templates/metrics-server/clusterrolebinding.yaml b/keda/templates/metrics-server/clusterrolebinding.yaml index 622bf3b9..34c9e840 100644 --- a/keda/templates/metrics-server/clusterrolebinding.yaml +++ b/keda/templates/metrics-server/clusterrolebinding.yaml @@ -59,5 +59,5 @@ roleRef: subjects: - kind: ServiceAccount name: horizontal-pod-autoscaler - namespace: {{ .Values.rbac.controlPlaneServiceAccountsNamespace }} + namespace: kube-system {{- end -}}