Skip to content

Support configuring the minimum TLS version - #3141

Open
brendandburns with Copilot wants to merge 3 commits into
mainfrom
copilot/support-configuring-tls-min-version
Open

brendandburns with Copilot wants to merge 3 commits into
mainfrom
copilot/support-configuring-tls-min-version

Conversation

Copilot AI commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

API connections could not enforce a minimum TLS version. This adds TLS 1.3 enforcement while preserving the Node.js runtime default when unset.

  • Configuration: Add typed KubeConfig.setTLSMinVersion(); passing undefined restores runtime defaults.
  • Transport: Propagate minVersion through direct, HTTP(S)-proxy, and SOCKS connections. Clear cached agents when the setting changes.
  • Documentation: Describe configuration, defaults, and API-server versus proxy TLS scope.
  • Regression coverage: Commit verified failing tests separately from the implementation.
const kc = new k8s.KubeConfig();
kc.loadFromDefault();
kc.setTLSMinVersion('TLSv1.3');

const api = kc.makeApiClient(k8s.CoreV1Api);

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 5, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

CLA Not Signed

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 5, 2026
Copilot AI linked an issue Nov 5, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits November 5, 2026 16:02
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Copilot
Once this PR has been reviewed and has the lgtm label, please ask for approval from brendandburns. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copilot AI changed the title [WIP] Add support for configuring minimum TLS version Support configuring the minimum TLS version Nov 5, 2026
@kubernetes-prow kubernetes-prow Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 5, 2026
@brendandburns
brendandburns marked this pull request as ready for review November 8, 2026 20:24
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support configuring the minimum TLS version

2 participants