Repository navigation
Forward-port CA injection onto upstream v1.37.2 - #2
Merged
Merged
Conversation
* 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
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.
Summary
Moves this fork's
mainonto upstream poseidon/terraform-render-bootstrapf6d1b42(Kubernetes v1.37.2), keeping the optional CA-injection feature.2be4b18: the CA-injection change (cb695b2) cherry-picked onto upstreamf6d1b42. Identical changes toauth.tf,outputs.tf,tls-*.tf. The only conflict wasvariables.tf, where both upstream's newcloud_providervariable and the six*_ca_cert/*_ca_keyvariables are kept.5682fc7: mergesmainwith theoursstrategy.cb695b2is fully superseded by2be4b18, so the tree is unchanged from2be4b18; 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_providernull-handling fix, and Terraform dependency bumps.dcode/typhoon pins this module by commit hash (
ref=2be4b18905b9cb8398ff660d0f726c8f99b449fainbare-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 onmainand could break once this branch is deleted. A merge commit keeps2be4b18onmain.Companion PR: dcode/typhoon
claude/optimistic-ritchie-z19duf→main. Merge this one first.Testing
terraform init -backend=false+terraform validate+terraform fmt -checkpass for typhoon's bare-metal/fedora-coreos cluster and worker modules consuming2be4b18(Terraform v1.17.1).cb695b2file by file: onlyvariables.tfdiffers, and only where the conflict was resolved.Generated by Claude Code