Currently the scheduler always sets BUILDKITE_REDACTED_VARS to be the agent's default value for each container, with no way to specify additional variables to redact from logs. This was set in #81 (because default redaction wasn't working?)
This PR provides a way to add more variables to BUILDKITE_REDACTED_VARS.
Changes
Add additional-redacted-vars to config.Config, scheduler.Config and the json schema
Pass it through to jobWrapper.Build
Append the default redacted vars to the configured ones
Currently the scheduler always sets
BUILDKITE_REDACTED_VARS
to be the agent's default value for each container, with no way to specify additional variables to redact from logs. This was set in #81 (because default redaction wasn't working?)This PR provides a way to add more variables to
BUILDKITE_REDACTED_VARS
.Changes
additional-redacted-vars
toconfig.Config
,scheduler.Config
and the json schemajobWrapper.Build