Skip to content

SCALRCORE-38606 Agent > Grant pull Secret permissions - #192

Open
RomanMytsko wants to merge 2 commits into
masterfrom
SCALRCORE-38606
Open

SCALRCORE-38606 Agent > Grant pull Secret permissions#192
RomanMytsko wants to merge 2 commits into
masterfrom
SCALRCORE-38606

Conversation

@RomanMytsko

@RomanMytsko RomanMytsko commented Jul 21, 2026

Copy link
Copy Markdown

Summary

  • grant the agent-job controller ServiceAccount namespaced get, create, patch, and delete access to Kubernetes Secrets
  • document the new pull Secret responsibility in the chart README and changelog
  • keep the permission set limited to the operations used by the agent

Why

Scalr/fatmouse#12534 adds authenticated custom runner image pulls for Scalr-managed agents. The agent creates an ephemeral kubernetes.io/dockerconfigjson Secret, attaches it to the run Job, and cleans it up. Without these Role permissions, Kubernetes rejects that lifecycle with 403 Forbidden.

Jira: SCALRCORE-38606

Compatibility

This is an additive, namespaced RBAC change. Existing agent behavior and public runner image pulls are unchanged.

@RomanMytsko
RomanMytsko marked this pull request as ready for review July 30, 2026 10:36
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