Skip to content

feat(agent): worker.security plaintext replaces insecure (alias kept) - #201

Draft
sebasnallar wants to merge 1 commit into
mainfrom
feat/agent-worker-security-plaintext
Draft

feat(agent): worker.security plaintext replaces insecure (alias kept)#201
sebasnallar wants to merge 1 commit into
mainfrom
feat/agent-worker-security-plaintext

Conversation

@sebasnallar

Copy link
Copy Markdown
Contributor

Summary

  • worker.security default is now plaintext (was insecure); comments in values.yaml and the README row updated.
  • insecure is still accepted and passed through verbatim, so existing values files render the exact same pod spec as today. The agent maps it to plaintext and logs a deprecation warning (nullplatform/controlplane-agent#101).
  • Values outside plaintext / mtls / insecure now abort the render with a clear message, matching the github.apps validation style. Previously a typo reached the agent, which fails closed to mTLS with no error anywhere.

Merge order

Draft until the controlplane-agent release containing nullplatform/controlplane-agent#101 is out. An older agent does not know plaintext, treats it as unknown, and runs mTLS. The default image tag is latest with pullPolicy: Always, so only installs pinning image.tag to an older agent are exposed once that release exists.

Test plan

  • helm template renders NP_WORKER_SECURITY=plaintext by default
  • --set worker.security=plaintext|mtls|insecure each pass through verbatim
  • --set worker.security=yolo aborts the render with the validation message
  • helm lint charts/agent passes
  • CI regenerates README via helm-docs on release (row pre-updated to match)

🤖 Generated with Claude Code

The opt-out mode is now spelled `plaintext`; `insecure` is accepted as a
deprecated alias and passed through verbatim, so existing values files
render exactly what they render today. Unknown values abort the render
instead of reaching the agent, where a typo silently means mTLS.

Requires the controlplane-agent release that includes
nullplatform/controlplane-agent#101: older agents do not know `plaintext`
and fall back to mTLS. Only installs pinning image.tag to an older agent
are affected; the default tag is latest.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant