actions / actions/actions-runner-controller

File based Secret support

Open
#2,362 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs triage
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

What would you like added?

Feature/functionality that specifically supports file based secrets. As it becomes more and more common for secrets to be mounted as files, this would enable greater flexibility in deployment.

A clear and concise description of what you want to happen.
A common pattern is to mount secrets as files/volumes to a pod. Some environments also do not allow Kubernetes secrets, and only allow file based secrets (no secrets mounted/used as environment variables). Being to use ASCP, Vault, Kubernetes secrets mounted as volumes, and other Secret CSI providers; to provide GitHub Auth secrets as files.

Documentation which also addresses this use case would also be nice to have as well.

Why is this needed?

File based secrets are becoming a more common pattern over Environment Variables, and some secret stores can only provide secrets via a CSI driver.

A clear and concise description of any alternative solutions or features you've considered.
I see nothing in values.yaml which would allow me to provide a path to a file for a PAT or similar patterns.
Overriding environment variables is not possible with some secret providers that only use CSI drivers.

Additional context

ASCP

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing values.yaml and the existing runner authentication configuration that currently expects environment variables. Compare how Kubernetes-mounted files from CSI providers would be represented and identify the documentation scope. Done means the desired file-based GitHub authentication flow, configuration shape, and supported secret providers are clearly defined and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, helm, kubernetes
Domain
devops, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.