From 110ac2947e820b45d732a2c7297c05f7fd8b90c7 Mon Sep 17 00:00:00 2001 From: Olamide Date: Thu, 24 Oct 2024 22:02:35 +0100 Subject: [PATCH] Update matchlabels selector for pod disruption budget resource --- .../chart/templates/podDisruptionBudget.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/modules/prometheus-instance/chart/templates/podDisruptionBudget.yaml b/platform/modules/prometheus-instance/chart/templates/podDisruptionBudget.yaml index b71809d..f50a0d4 100644 --- a/platform/modules/prometheus-instance/chart/templates/podDisruptionBudget.yaml +++ b/platform/modules/prometheus-instance/chart/templates/podDisruptionBudget.yaml @@ -14,5 +14,6 @@ spec: maxUnavailable: {{ .Values.prometheus.podDisruptionBudget.maxUnavailable }} {{- end }} selector: - {{- include "prometheus.selectorLabels" . | nindent 4 }} + matchLabels: + {{- include "prometheus.selectorLabels" . | nindent 6 }} {{- end }}