From 5d7ef9fef584491beba46e55bc602e9988d0187a Mon Sep 17 00:00:00 2001 From: Andreas Kurz Date: Tue, 28 May 2024 08:38:09 +0200 Subject: [PATCH] sourcegraph: add "matchLabels" to frontend PDB selector - fixes #355 Signed-off-by: Andreas Kurz --- charts/sourcegraph/CHANGELOG.md | 1 + .../frontend/sourcegraph-frontend.PodDisruptionBudget.yaml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/sourcegraph/CHANGELOG.md b/charts/sourcegraph/CHANGELOG.md index 7afa8897..1b0a98dd 100644 --- a/charts/sourcegraph/CHANGELOG.md +++ b/charts/sourcegraph/CHANGELOG.md @@ -10,6 +10,7 @@ Use `**BREAKING**:` to denote a breaking change - Updated redis readiness check to fix NOAUTH on password'd redis servers #458, #471 - Removed qdrant from deployment #459 +- Add missing "matchLabels" to frontend PDB selector #355 ## 5.3.3 diff --git a/charts/sourcegraph/templates/frontend/sourcegraph-frontend.PodDisruptionBudget.yaml b/charts/sourcegraph/templates/frontend/sourcegraph-frontend.PodDisruptionBudget.yaml index 35d4c0a4..db2b6930 100644 --- a/charts/sourcegraph/templates/frontend/sourcegraph-frontend.PodDisruptionBudget.yaml +++ b/charts/sourcegraph/templates/frontend/sourcegraph-frontend.PodDisruptionBudget.yaml @@ -6,6 +6,7 @@ metadata: spec: {{- toYaml .Values.frontend.podDisruptionBudget | nindent 2 }} selector: - {{- include "sourcegraph.selectorLabels" . | nindent 4 }} - app: sourcegraph-frontend + matchLabels: + {{- include "sourcegraph.selectorLabels" . | nindent 6 }} + app: sourcegraph-frontend {{- end }}