1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

feat(k8s): k8s priority class name config (#5391)

This commit is contained in:
Lilly
2025-08-09 16:33:47 +02:00
committed by GitHub
parent 0eb10d1e04
commit 147256e3a8
4 changed files with 18 additions and 0 deletions

View File

@@ -95,4 +95,10 @@ var Flags = []cli.Flag{
Usage: "whether to allow existing Kubernetes secrets to be referenced from steps",
Value: false,
},
&cli.StringFlag{
Sources: cli.EnvVars("WOODPECKER_BACKEND_K8S_PRIORITY_CLASS"),
Name: "backend-k8s-priority-class",
Usage: "which kubernetes priority class to assign to created job pods",
Value: "",
},
}