feat(cilium): gated WireGuard transparent encryption support (ADR-057 Phase 1) - #1193
Merged
Conversation
… Phase 1)
Adds east-west in-transit encryption to the cilium module — the buildable half
of ADR-057 (service identity & east-west zero trust). Pod traffic between nodes
is encrypted on the wire; the mTLS/SPIFFE workload-identity half (Phase 2) stays
Proposed + parked (regulated-tier only, no consumer yet, needs a Cilium-mTLS-vs-
SPIRE spike).
- New gated vars (default OFF, pure no-op until a unit opts in): encryption_enabled,
encryption_type ("wireguard" default | "ipsec"), node_encryption.
- Wired as a distinct top-level `encryption` fragment in datapath_values.
- WireGuard chosen: in-kernel on the AL2023 6.x nodes (kernel 6.12, no key mgmt)
and simplest on the overlay datapath (tunnel/VXLAN + cluster-pool) — avoids the
native-ENI WireGuard caveats. Cilium stacks it under VXLAN and auto-adjusts MTU.
- ADR-057 amended in place: Phase 1 concretized (WireGuard, fleet-default — the
open fleet-vs-tier question resolved to fleet-default — pod-to-pod only);
Status flips to Accepted once applied + verified.
- README + Inputs table synced.
Capability only — enabling on a cluster is a separate, deliberate step: flipping a
unit input triggers a rolling Cilium restart (highest blast radius), so it rolls
out preprod-first in a maintenance window with a perf measurement, from the main
checkout (never a worktree). Not applied here.
Toward ADR-057 Phase 1 (east-west encryption).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gangster
force-pushed
the
feat-cilium-wireguard-encryption
branch
from
July 6, 2026 17:12
bb6e94c to
c9ec794
Compare
💰 Infracost reportMonthly estimate generatedEstimate details (includes details of unsupported resources) |
Hand-added the encryption Inputs rows; regenerate via terraform-docs so the BEGIN_TF_DOCS block matches canonical output (the doc-currency CI gate).
This was referenced Jul 7, 2026
Merged
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.
What
Adds east-west in-transit encryption to the
ciliummodule — the buildable half of ADR-057 (service identity & east-west zero trust). Capability only, default-off — a pure no-op until a unit opts in. Nothing is enabled or applied by this PR.Why this half, now
standardtier, closes a real gap (pod-to-pod traffic is plaintext on the wire today).Proposed.The change
encryption_enabled,encryption_type(wireguarddefault |ipsec),node_encryption.encryptionfragment indatapath_values.node_encryption(host-to-host) deferred.tofu fmt/validate+markdownlintclean.Enablement is a separate, deliberate step (not here)
Flipping a unit's
encryption_enabled = truetriggers a rolling Cilium restart on the CNI — the highest-blast-radius change on the platform. So enablement rolls out:cilium status→Encryption: Wireguard, connectivity, Hubble, ingress).ADR-057 status flips to Accepted once applied + verified. Toward ADR-057 Phase 1.
🤖 Generated with Claude Code