Merge pull request #162 from sergiodj/improve-woodpecker-agent-doc
Improve Woodpecker's main docs re. agent secrets
This commit is contained in:
commit
e21dca756e
1 changed files with 16 additions and 3 deletions
|
@ -40,6 +40,13 @@ devture_woodpecker_ci_server_hostname: mash.example.com
|
||||||
devture_woodpecker_ci_server_path_prefix: /ci
|
devture_woodpecker_ci_server_path_prefix: /ci
|
||||||
|
|
||||||
# Generate this secret with `openssl rand -hex 32`
|
# Generate this secret with `openssl rand -hex 32`
|
||||||
|
#
|
||||||
|
# Note that this playbook only supports agent-specific secrets, which
|
||||||
|
# means that if you choose to share this secret with an agent, the
|
||||||
|
# server will register it as a non-persistent agent.
|
||||||
|
#
|
||||||
|
# See the definition of
|
||||||
|
# devture_woodpecker_ci_agent_config_agent_secret below for more details.
|
||||||
devture_woodpecker_ci_server_config_agent_secret: ''
|
devture_woodpecker_ci_server_config_agent_secret: ''
|
||||||
|
|
||||||
devture_woodpecker_ci_server_config_admins: [YOUR_USERNAME_HERE]
|
devture_woodpecker_ci_server_config_admins: [YOUR_USERNAME_HERE]
|
||||||
|
@ -126,9 +133,15 @@ devture_woodpecker_ci_agent_enabled: true
|
||||||
# gRPC port will likely be 443. E.g., ci.example.com:443.
|
# gRPC port will likely be 443. E.g., ci.example.com:443.
|
||||||
devture_woodpecker_ci_agent_config_server: ''
|
devture_woodpecker_ci_agent_config_server: ''
|
||||||
|
|
||||||
# Enter your server's secret below.
|
# This playbook only supports agent-specific secrets, i.e., it is not recommended to use
|
||||||
# This value must match the `devture_woodpecker_ci_server_config_agent_secret` variable.
|
# a shared secret between Woodpecker CI Server and all of its agents. Please refer to
|
||||||
devture_woodpecker_ci_agent_config_agent_secret: ''
|
# the following upstream documentation in order to learn how to register an agent and
|
||||||
|
# obtain a secret for it:
|
||||||
|
#
|
||||||
|
# https://woodpecker-ci.org/docs/administration/agent-config#using-agent-token
|
||||||
|
#
|
||||||
|
# then, when you have the agent secret, uncomment the following line.
|
||||||
|
#devture_woodpecker_ci_agent_config_agent_secret: ''
|
||||||
|
|
||||||
# Uncomment the line below if you want the agent to connect to the
|
# Uncomment the line below if you want the agent to connect to the
|
||||||
# server over a secure gRPC channel (recommended).
|
# server over a secure gRPC channel (recommended).
|
||||||
|
|
Loading…
Reference in a new issue