mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-04 18:12:46 +02: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:
co-authored by
Copilot Autofix powered by AI
parent
40595d806f
commit
9bc1c9e53e
@@ -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