Skip to content

fix(arc): narrow AutoscalingRunnerSet ignoreDifferences so SA syncs#32

Merged
xnoto merged 1 commit intomainfrom
fix/arc-tf-template-ignore-narrow
Apr 30, 2026
Merged

fix(arc): narrow AutoscalingRunnerSet ignoreDifferences so SA syncs#32
xnoto merged 1 commit intomainfrom
fix/arc-tf-template-ignore-narrow

Conversation

@xnoto
Copy link
Copy Markdown
Contributor

@xnoto xnoto commented Apr 30, 2026

Summary

The previous ignoreDifferences rule on AutoscalingRunnerSet ignored the entire /spec/template, which masked legitimate changes like serviceAccountName. Result: even after arc-tf-runner was added in #31, runner pods kept spinning up under the chart's default arc-tf-gha-rs-no-permission SA and the sync workflow failed with Forbidden on applications.argoproj.io.

This narrows the ignore to only /spec/template/metadata/annotations — the path the gha-runner-scale-set controller actually mutates with hash propagation.

Test plan

  • After ArgoCD syncs, kubectl -n arc-runners get pods -o jsonpath='{..serviceAccountName}' shows arc-tf-runner
  • Push to main triggers Sync ArgoCD job and successfully patches the bootstrap Applications

🤖 Generated with Claude Code

ignoring /spec/template wholesale also masks spec.template.spec changes
like serviceAccountName, so the new arc-tf-runner SA never reached the
runner pods and they kept booting under the chart's default
arc-tf-gha-rs-no-permission SA. Restrict the ignore to the annotation
paths the controller actually mutates so template spec changes sync.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xnoto xnoto merged commit bc6c5b7 into main Apr 30, 2026
2 checks passed
@xnoto xnoto deleted the fix/arc-tf-template-ignore-narrow branch April 30, 2026 14:59
@xnoto xnoto self-assigned this Apr 30, 2026
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