Skip to content

Commit ba170fc

Browse files
xnotoclaude
andcommitted
fix(arc): enable SA token automount on arc-tf runner pods
The gha-runner-scale-set chart defaults automountServiceAccountToken to false, so the arc-tf-runner SA's token never reached the runner container and kubectl failed with 401. Set it true on the template spec so the projected token is mounted at the standard path and in-cluster auth works. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent bc6c5b7 commit ba170fc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

workloads/arc/arc-tf-application.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ spec:
3232
template:
3333
spec:
3434
serviceAccountName: arc-tf-runner
35+
# The gha-runner-scale-set chart disables token automount by
36+
# default; re-enable so kubectl can use the SA's projected token.
37+
automountServiceAccountToken: true
3538
containers:
3639
- name: runner
3740
image: ghcr.io/makeitworkcloud/tfroot-runner:latest

0 commit comments

Comments
 (0)