mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Add missing flag and docs (#825)
* Add missing flag and docs Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at> Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
parent
2f6f44417d
commit
c16d42f81e
2 changed files with 20 additions and 3 deletions
|
@ -169,9 +169,10 @@ var flags = []cli.Flag{
|
|||
Usage: "url used for calling configuration service endpoint",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"WOODPECKER_CONFIG_SERVICE_SECRET"},
|
||||
Name: "config-service-secret",
|
||||
Usage: "secret to sign requests send to configuration service",
|
||||
EnvVars: []string{"WOODPECKER_CONFIG_SERVICE_SECRET"},
|
||||
Name: "config-service-secret",
|
||||
Usage: "secret to sign requests send to configuration service",
|
||||
FilePath: os.Getenv("WOODPECKER_CONFIG_SERVICE_SECRET_FILE"),
|
||||
},
|
||||
&cli.StringFlag{
|
||||
EnvVars: []string{"WOODPECKER_DATABASE_DRIVER"},
|
||||
|
|
|
@ -334,6 +334,22 @@ Comma-separated list to limit the specific CPUs or cores a pipeline container ca
|
|||
|
||||
Example: `WOODPECKER_LIMIT_CPU_SET=1,2`
|
||||
|
||||
|
||||
### `WOODPECKER_CONFIG_SERVICE_ENDPOINT`
|
||||
> Default: ``
|
||||
|
||||
Specify a configuration service endpoint, see [Configuration Extension](docs/administration/external-configuration-api)
|
||||
|
||||
### `WOODPECKER_CONFIG_SERVICE_SECRET`
|
||||
> Default: ``
|
||||
|
||||
Specify a signing secret for the configuration service endpoint, see [Configuration Extension](docs/administration/external-configuration-api)
|
||||
|
||||
### `WOODPECKER_CONFIG_SERVICE_SECRET_FILE`
|
||||
> Default: ``
|
||||
|
||||
Read the value for `WOODPECKER_CONFIG_SERVICE_SECRET` from the specified filepath
|
||||
|
||||
---
|
||||
|
||||
### `WOODPECKER_GITHUB_...`
|
||||
|
|
Loading…
Reference in a new issue