Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 set webhook min TLS version to 1.3 #1721

Merged
merged 1 commit into from
May 13, 2024

Conversation

tuminoid
Copy link
Member

@tuminoid tuminoid commented May 8, 2024

Webhook is connected to by kube-apiserver, and it has supported TLS 1.3 connections since Go 1.14, over 4 years ago. By default, the connection has been negoatiated to TLS 1.3 anyways between the client and webhook. Turning it to TLS 1.3 should not affect anything, but it shouldn't also break anything.

In case this is an issue for some consumer, they can always use the --tls-min-version TLS12 to turn it back to TLS 1.2.

Webhook is connected to by kube-apiserver, and it has supported TLS 1.3
connections since Go 1.14, over 4 years ago. By default, the connection
has been negoatiated to TLS 1.3 anyways between the client and webhook.
Turning it to TLS 1.3 should not affect anything, but it shouldn't
also break anything.

In case this is an issue for some consumer, they can always use the
--tls-min-version TLS12 to turn it back to TLS 1.2.

Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 8, 2024
@tuminoid
Copy link
Member Author

tuminoid commented May 8, 2024

/test metal3-bmo-e2e-test-pull

@tuminoid
Copy link
Member Author

tuminoid commented May 8, 2024

/test metal3-bmo-e2e-test-pull
Flake, docker hub down .... :)

@tuminoid
Copy link
Member Author

tuminoid commented May 8, 2024

/cc @kashifest @elfosardo

@kashifest
Copy link
Member

We should probably remove from https://github.com/metal3-io/baremetal-operator/blob/main/main.go#L67 as well.

@tuminoid
Copy link
Member Author

tuminoid commented May 8, 2024

We should probably remove from https://github.com/metal3-io/baremetal-operator/blob/main/main.go#L67 as well.

No no, we are supporting it still, we're only changing the default to be 1.3. As mentioned in description, we need to have ability to downgrade to 1.2 still.

@kashifest
Copy link
Member

We should probably remove from https://github.com/metal3-io/baremetal-operator/blob/main/main.go#L67 as well.

No no, we are supporting it still, we're only changing the default to be 1.3. As mentioned in description, we need to have ability to downgrade to 1.2 still.

my bad, sorry.
/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label May 8, 2024
@tuminoid
Copy link
Member Author

/cc @lentzi90 @dtantsur

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lentzi90

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

The pull request process is described here

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2024
@metal3-io-bot metal3-io-bot merged commit a180ff2 into metal3-io:main May 13, 2024
16 checks passed
@metal3-io-bot metal3-io-bot deleted the tuomo/turn-tls13-on-by-default branch May 13, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants