Repository navigation
docs(039): built-in kubelet registration (no registrar sidecar), fsGroup-tightened socket dir, uds-csi image name - #1084
Merged
Merged
Conversation
…oup-tightened socket dir, uds-csi image name Folds in the three owner decisions of 2026-09-30: - No node-driver-registrar sidecar: uds-csi serves the kubelet pluginregistration Registration service itself on <kubeletRoot>/plugins_registry/csi.aether.io-reg.sock; the proto is copied into api/ (package kept as pluginregistration for the wire path) so deps_test stays at CSI protos + grpc + x/sys/unix. No SPIRE dependency. - Q2 decided: fsGroupPolicy File + VOLUME_MOUNT_GROUP, per-pod tmpfs root:<fsGroup> 2770 (setgid so sockets inherit the group), a pod with no fsGroup is rejected with InvalidArgument (FailedMount). - Image quay.io/aethermesh/uds-csi per proposal 040; the quay repo must be pre-created by the owner. Superseded draft text is struck through, not deleted. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 30, 2026
Resolve docs/proposals/039_uds-csi-driver.md against #1084's decisions: keep main's decision text verbatim, add the Phase 1 implementation line under it, and cut "Phase 1 as built" down to the departures from the design (MS_NOSYMFOLLOW at mount time, registration-error exit path, validation details, value names, gate). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
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.
Docs-only update to
docs/proposals/039_uds-csi-driver.mdwith the three owner decisions of 2026-09-30. Superseded draft text is struck through rather than deleted where it explains a trade-off.1. No
node-driver-registrarsidecar.uds-csiserves the kubeletpluginregistration.v1Registrationservice itself on<kubeletRoot>/plugins_registry/csi.aether.io-reg.sock. It removes a stale socket at start and its own socket on SIGTERM.GetInforeturns{CSIPlugin, csi.aether.io, <kubeletRoot>/plugins/csi.aether.io/csi.sock, ["1.0.0"]}.NotifyRegistrationStatus(false)logs and records the error, then exits non-zero so the pod restarts. The proto is copied intoapi/aether/kubelet/pluginregistration/v1/instead of importingk8s.io/kubelet. Its protopackagestayspluginregistrationbecause the gRPC method path depends on it. That keeps the plugin'sdeps_testat CSI protos + grpc +x/sys/unix. The DaemonSet table now lists one container, drops the external-image/Renovate row and keeps theplugins_registrymount. The doc also states that the carrier has no SPIRE dependency. Rationale: one image, no third-party image to pin, bump, verify or mirror, and the smallest privileged surface. The cost is about 100 lines plus a fake-kubelet unit test and a kindCSINodee2e that survives a roll.2. Q2 decided: fsGroup-tightened directory.
fsGroupPolicy: File+VOLUME_MOUNT_GROUP. The per-pod tmpfs isuid=0,gid=<fsGroup>,mode=2770. Setgid is there so sockets, including 034 Phase 2's root-boundmesh.sock, inherit the group and0660works in both directions. This also matches what the kubelet does for anemptyDirwithfsGroup. The proxy connects as root. A pod withoutfsGroupgetsInvalidArgumentnaming the missing field (FailedMount), and podmutate may reject it earlier in Phase 2. There is no world-writable fallback. Q2 moves from Open questions to a new Decided section, and Q5 (registrar supply chain) is marked moot.3. Image name per proposal 040:
quay.io/aethermesh/uds-csi. The Phase 1 row notes that the owner must pre-create the quay repository because the push robot cannot create repositories.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr