Skip to content

fix(prober chart): the authz canary's target needs its own ServiceAccount, and no hand-written Service - #816

Merged
bpalermo merged 1 commit into
mainfrom
fix/prober-authz-canary-service
Sep 19, 2026
Merged

bpalermo merged 1 commit into
mainfrom
fix/prober-authz-canary-service

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Fixes the canary added in #811, found broken on its first deploy (talos-main prober rev12 is in failed state because of it).

0.4.0's authzCanary could not work: the authz-echo Deployment set no
serviceAccountName and the chart created no ServiceAccount for it, so its pods ran
as default. aether registers a pod under its ServiceAccount — that IS the mesh
service name — so the workload registered as a mesh service literally named
default, nothing registered as authz-echo, and the registrar pruned the chart's
hand-written authz-echo Service ("pruned mesh Service (service gone from
registry)") a second before helm --wait looked for it: Upgrade "prober" failed: services "authz-echo" not found. The canary then logged 72 FAIL / 0 OK with
allow=000 deny=000 — it never connected, so no ext_authz request was made and the
statistics it exists to create still do not exist (talos-main, 2026-09-19, rev12).

0.4.1 follows the pattern of charts/udsecho: ServiceAccount authz-echo,
serviceAccountName on the Deployment, the app port as the pod annotation
endpoint.aether.io/port, and NO Service — the registrar generates and owns the
mesh Service (the HTTPFilter's targetRef names that generated Service).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…ount, and no hand-written Service

0.4.0's `authzCanary` could not work: the `authz-echo` Deployment set no
serviceAccountName and the chart created no ServiceAccount for it, so its pods ran
as `default`. aether registers a pod under its ServiceAccount — that IS the mesh
service name — so the workload registered as a mesh service literally named
`default`, nothing registered as `authz-echo`, and the registrar pruned the chart's
hand-written `authz-echo` Service ("pruned mesh Service (service gone from
registry)") a second before `helm --wait` looked for it: `Upgrade "prober" failed:
services "authz-echo" not found`. The canary then logged 72 FAIL / 0 OK with
`allow=000 deny=000` — it never connected, so no ext_authz request was made and the
statistics it exists to create still do not exist (talos-main, 2026-09-19, rev12).

0.4.1 follows the pattern of charts/udsecho: ServiceAccount `authz-echo`,
`serviceAccountName` on the Deployment, the app port as the pod annotation
`endpoint.aether.io/port`, and NO Service — the registrar generates and owns the
mesh Service (the HTTPFilter's targetRef names that generated Service).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 3fc18ae into main Sep 19, 2026
20 checks passed
@bpalermo
bpalermo deleted the fix/prober-authz-canary-service branch September 19, 2026 16:31
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