From 6fc2aae621af47aa9b91cce83b7082262c100615 Mon Sep 17 00:00:00 2001 From: anishakj <43978302+anishakj@users.noreply.github.com> Date: Thu, 19 May 2022 12:05:13 +0530 Subject: [PATCH] Issue 620: Fix for pravega upgrade failure (#627) Signed-off-by: anishakj --- controllers/upgrade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/upgrade.go b/controllers/upgrade.go index fd4417294..9b81293bf 100644 --- a/controllers/upgrade.go +++ b/controllers/upgrade.go @@ -400,6 +400,7 @@ func (r *PravegaClusterReconciler) syncSegmentStoreVersion(p *pravegav1beta1.Pra if ready { labels := p.LabelsForPravegaCluster() + labels["component"] = "pravega-segmentstore" pod, err := r.getOneOutdatedPod(sts, p.Status.TargetVersion, labels) if err != nil { return false, err