Skip to content

Forward-port CA injection onto upstream v1.37.2 - #2

Merged
dcode merged 12 commits into
mainfrom
claude/optimistic-ritchie-z19duf
Nov 20, 2026
Merged

dcode merged 12 commits into
mainfrom
claude/optimistic-ritchie-z19duf

Conversation

@dcode

@dcode dcode commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Summary

Moves this fork's main onto upstream poseidon/terraform-render-bootstrap f6d1b42 (Kubernetes v1.37.2), keeping the optional CA-injection feature.

  • 2be4b18: the CA-injection change (cb695b2) cherry-picked onto upstream f6d1b42. Identical changes to auth.tf, outputs.tf, tls-*.tf. The only conflict was variables.tf, where both upstream's new cloud_provider variable and the six *_ca_cert / *_ca_key variables are kept.
  • 5682fc7: merges main with the ours strategy. cb695b2 is fully superseded by 2be4b18, so the tree is unchanged from 2be4b18; this just makes the PR merge without conflicts.

Pulls in the upstream commits since the old base, including Kubernetes v1.36.1 → v1.37.2, the cloud_provider null-handling fix, and Terraform dependency bumps.

⚠️ Merge with "Create a merge commit"

dcode/typhoon pins this module by commit hash (ref=2be4b18905b9cb8398ff660d0f726c8f99b449fa in bare-metal/fedora-coreos/kubernetes/bootstrap.tf). "Squash" or "Rebase and merge" would give that commit a new hash, so the pinned commit would no longer be on main and could break once this branch is deleted. A merge commit keeps 2be4b18 on main.

Companion PR: dcode/typhoon claude/optimistic-ritchie-z19duf → main. Merge this one first.

Testing

  • terraform init -backend=false + terraform validate + terraform fmt -check pass for typhoon's bare-metal/fedora-coreos cluster and worker modules consuming 2be4b18 (Terraform v1.17.1).
  • Diffed the patch against cb695b2 file by file: only variables.tf differs, and only where the conflict was resolved.

Generated by Claude Code

dghubble and others added 12 commits May 18, 2026 21:40
* Add a cloud_provider variable so that external cloud
controller managers can be used by setting the flag to
"external". Note that nodes will be tainted until they
are initialized by a cloud-specific controller manager
(various implementations)
* When the cloud_provider variable is null (the default), the
cloud_provider_flag won't be used, but Terraform still evaluates
the interpolation so we have to prevent it from erroring
…ation PKI

Add k8s_ca_cert/k8s_ca_key, etcd_ca_cert/etcd_ca_key, and aggregation_ca_cert/
aggregation_ca_key variables. When provided, the module uses the supplied cert/key
pair as the signing CA instead of generating a self-signed one. Self-signed CA
resources become conditional (count = 0 when the variable is set), and all
downstream signing goes through effective_* locals that prefer the injected CA.

All new variables default to null, preserving the existing self-signed behavior
for callers that don't set them — fully backward-compatible.
main carries the CA-injection change (cb695b2) based on an old upstream.
2be4b18 is the same change forward-ported onto upstream f6d1b42
(Kubernetes v1.37.2), so this merge keeps the forward-port tree as-is
and records main as a parent so the PR merges without conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaRBVFbdPPHX1pFsQ1wQYW
@dcode
dcode merged commit 9258de2 into main Nov 20, 2026
1 check passed
@dcode
dcode deleted the claude/optimistic-ritchie-z19duf branch November 20, 2026 15:02
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.

2 participants