automation (Fix): grant workflowtaskresults to the workflow executor SA #1714
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1714
Loading…
Reference in a new issue
No description provided.
Delete branch "automation-taskresults-rbac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Argo's agent sidecar reports step results as workflowtaskresults (create/patch) using the workflow's own ServiceAccount. automation-kubetenant-role's argoproj.io rule predates that resource, so every step of the create-k8s-resources-in-repo workflows in the automation namespace ends with:
(seen in automation pod logs from 2026-11-16T23:48Z; the workflow pods run as automation-kubetenantsetup via automation-kubetenantsetup-binding).
Adds workflowtaskresults to the existing argoproj.io rule, matching the executor rules already present in generic-templates/argo/workflows/account.yaml and clusters/mini/ci/role.yaml.
Verified: flux build kustomization flux-system --path ./clusters/mini renders the extended rule.
Related: lab/tofu-controller#2 covers the second failure in the same pods (Forgejo authorized-integration JWT rejected).