buildkite / agent-stack-k8s

Spin up an autoscaling stack of Buildkite Agents on Kubernetes
MIT License
79 stars 30 forks source link

Add redacted-vars config #280

Closed DrJosh9000 closed 6 months ago

DrJosh9000 commented 6 months ago

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