Repository navigation
fix(prober chart): the authz canary's target needs its own ServiceAccount, and no hand-written Service - #816
Merged
Conversation
…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
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the canary added in #811, found broken on its first deploy (talos-main prober rev12 is in
failedstate because of it).0.4.0's
authzCanarycould not work: theauthz-echoDeployment set noserviceAccountName and the chart created no ServiceAccount for it, so its pods ran
as
default. aether registers a pod under its ServiceAccount — that IS the meshservice name — so the workload registered as a mesh service literally named
default, nothing registered asauthz-echo, and the registrar pruned the chart'shand-written
authz-echoService ("pruned mesh Service (service gone fromregistry)") a second before
helm --waitlooked for it:Upgrade "prober" failed: services "authz-echo" not found. The canary then logged 72 FAIL / 0 OK withallow=000 deny=000— it never connected, so no ext_authz request was made and thestatistics 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,serviceAccountNameon the Deployment, the app port as the pod annotationendpoint.aether.io/port, and NO Service — the registrar generates and owns themesh Service (the HTTPFilter's targetRef names that generated Service).
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr