mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-04-05 06:36:43 +08:00
Shutdown the scaleset when runner is deprecated (#4404)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -716,6 +716,10 @@ func (b *ResourceBuilder) newEphemeralRunnerPod(runner *v1alpha1.EphemeralRunner
|
||||
Name: EnvVarRunnerExtraUserAgent,
|
||||
Value: fmt.Sprintf("actions-runner-controller/%s", build.Version),
|
||||
},
|
||||
corev1.EnvVar{
|
||||
Name: EnvVarRunnerDeprecatedExitCode,
|
||||
Value: "1",
|
||||
},
|
||||
)
|
||||
c.Env = append(c.Env, envs...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user