Skip to content

Commit 4827418

Browse files
authored
Merge pull request #11447 from sbueringer/pr-kcp-pod-msg-fix
🌱 KCP: Change Pod does not exist message to allow aggregation
2 parents bf63a73 + 0d02544 commit 4827418

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controlplane/kubeadm/internal/workload_cluster_conditions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ func (w *Workload) updateStaticPodCondition(ctx context.Context, machine *cluste
655655
Type: staticPodV1beta2Condition,
656656
Status: metav1.ConditionFalse,
657657
Reason: controlplanev1.KubeadmControlPlaneMachinePodDoesNotExistV1Beta2Reason,
658-
Message: fmt.Sprintf("Pod %s does not exist", podKey.Name),
658+
Message: "Pod does not exist",
659659
})
660660
return
661661
}

controlplane/kubeadm/internal/workload_cluster_conditions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ func TestUpdateStaticPodCondition(t *testing.T) {
11931193
Type: v1beta2Condition,
11941194
Status: metav1.ConditionFalse,
11951195
Reason: controlplanev1.KubeadmControlPlaneMachinePodDoesNotExistV1Beta2Reason,
1196-
Message: "Pod kube-component-node does not exist",
1196+
Message: "Pod does not exist",
11971197
},
11981198
},
11991199
{

0 commit comments

Comments
 (0)