diff --git a/controllers/runner_pod_controller.go b/controllers/runner_pod_controller.go index d058f1d3..725fcd30 100644 --- a/controllers/runner_pod_controller.go +++ b/controllers/runner_pod_controller.go @@ -62,7 +62,11 @@ func (r *RunnerPodReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( return ctrl.Result{}, client.IgnoreNotFound(err) } - if _, isRunnerPod := runnerPod.Labels[LabelKeyRunner]; !isRunnerPod { + _, isRunnerPod := runnerPod.Labels[LabelKeyRunner] + _, isRunnerSetPod := runnerPod.Labels[LabelKeyRunnerSetName] + _, isRunnerDeploymentPod := runnerPod.Labels[LabelKeyRunnerDeploymentName] + + if !isRunnerPod && !isRunnerSetPod && !isRunnerDeploymentPod { return ctrl.Result{}, nil }