From 3f0438dacfd4a92a18297c6182c3a0705623bf4f Mon Sep 17 00:00:00 2001 From: Peter Wilcsinszky Date: Tue, 16 Jan 2024 15:05:42 +0100 Subject: [PATCH] fix: adapt to changed method signature Signed-off-by: Peter Wilcsinszky --- pkg/resources/fluentd/pdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resources/fluentd/pdb.go b/pkg/resources/fluentd/pdb.go index 9e541207f..2879dffe1 100644 --- a/pkg/resources/fluentd/pdb.go +++ b/pkg/resources/fluentd/pdb.go @@ -29,7 +29,7 @@ func (r *Reconciler) pdb() (runtime.Object, reconciler.DesiredState, error) { ObjectMeta: r.FluentdObjectMeta(PodDisruptionBudgetName, ComponentFluentd), Spec: policyv1.PodDisruptionBudgetSpec{ Selector: &metav1.LabelSelector{ - MatchLabels: r.Logging.GetFluentdLabels(ComponentFluentd), + MatchLabels: r.Logging.GetFluentdLabels(ComponentFluentd, *r.fluentdSpec), }, MinAvailable: pdbSpec.MinAvailable, MaxUnavailable: pdbSpec.MaxUnavailable,