mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
@@ -62,7 +62,11 @@ func (r *RunnerPodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
|
|||||||
return ctrl.Result{}, client.IgnoreNotFound(err)
|
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
|
return ctrl.Result{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user