acoustic-carpenter-78188
06/22/2026, 8:59 PMRunLogsService/TailLogs → 403. Streaming a pod's logs reads the Kubernetes pods/log subresource, which is a distinct RBAC resource from pods. The ClusterRole only granted pods, so streaming failed with cannot get resource "pods/log".
2. AppLogsService/TailLogs → 404. The ingress apiPaths helper enumerates Connect service paths explicitly and listed AppService but not AppLogsService, so those requests fell through to a 404 instead of reaching the binary.
What changes were proposed in this pull request?
• `templates/clusterrole.yaml`: add a minimal pods/log get rule (only get — log streaming with follow=true is still a GET on the subresource).
• `templates/_helpers.tpl`: add /flyteidl2.app.AppLogsService and /flyteidl2.app.AppLogsService/* to flyte-binary.ingress.apiPaths, alongside the existing AppService paths (consumed by both the http and api-jwt ingress templates).
How was this patch tested?
• helm template renders both the pods/log rule and the AppLogsService ingress paths (http + api-jwt).
• On the flyte-development cluster:
• reading a task pod's logs as the service account succeeds where it was previously forbidden (kubectl logs <pod> --as=system:serviceaccount:flyte:flyte2);
• after adding the ingress paths, POST /flyteidl2.app.AppLogsService/TailLogs returns the auth challenge (302) — identical to AppService — instead of 404.
Labels
• fixed
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyteacoustic-carpenter-78188
06/22/2026, 9:06 PMacoustic-carpenter-78188
06/22/2026, 9:38 PM