-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Document kubernetes.io/kube-apiserver-serving ClusterTrustBundle signer #48492
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
base: main
Are you sure you want to change the base?
Conversation
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hello @stlaz 👋 please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday November 19th 2024 18:00 PST. Thank you! |
f6fe71b
to
b3c06b7
Compare
/retitle Document kubernetes.io/kube-apiserver-serving ClusterTrustBundle signer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some feedback
content/en/docs/reference/access-authn-authz/certificate-signing-requests.md
Show resolved
Hide resolved
content/en/docs/reference/access-authn-authz/certificate-signing-requests.md
Outdated
Show resolved
Hide resolved
content/en/docs/reference/command-line-tools-reference/feature-gates/cluster-trust-bundle.md
Outdated
Show resolved
Hide resolved
content/en/docs/reference/access-authn-authz/certificate-signing-requests.md
Outdated
Show resolved
Hide resolved
b3c06b7
to
7687889
Compare
Thank you @sftim for the review. I addressed your comments, I had additional questions with some of them. |
7687889
to
58c17dd
Compare
content/en/docs/reference/command-line-tools-reference/feature-gates/cluster-trust-bundle.md
Outdated
Show resolved
Hide resolved
LGTM for docs (even with pending feedback) |
58c17dd
to
ad05ff8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, LGTM.
@@ -10,4 +10,9 @@ stages: | |||
defaultValue: false | |||
fromVersion: "1.27" | |||
--- | |||
Enable ClusterTrustBundle objects and kubelet integration. | |||
Enable ClusterTrustBundle support, including kubelet integration. Also makes the Kubernetes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to indicate that the ClusterTrustBundle
feature gate is used in API server, controller manager and kubelet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubelet uses only the ClusterTrustBundleProjection
fg, I'll add the info about KAS and KCM.
I wonder if we wanted to clarify that the kubelet integration needs to be additionally set up with its own featuregate that depends on the API this featuregate enables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I just realized the mention of kubelet is likely all wrong here, I'll remove that. The ClusterTrustBundleProjection FG controls the availability of the pod fields AFAIK.
1. Permitted x509 extensions - honors subjectAltName and key usage extensions. At | ||
least one DNS or IP subjectAltName must be present. The SAN DNS/IP of the certificates | ||
must resolve/point to kube-apiserver's hostname/IP. | ||
1. Permitted key usages - ["key encipherment", "digital signature", "server auth"] or ["digital signature", "server auth"]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we don't fail anything if you have more than these though right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's little to no validation around the KAS serving cert today, so no, we don't 😐
/assign @enj |
2976832
to
131eee4
Compare
@stlaz is this targeting the right branch? Kubernetes v1.32 is released, so I imagine you want to target main. |
/hold pending a switch to a valid base branch |
Indeed, this was created for 1.32 originally but that's now main. Switched to the correct one, I'll fix the merge conflicts to make the PR mergeable again. |
131eee4
to
4304cc1
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Description
This is
a placeholderfor KEP-3257 Cluster Trust BundlesIssue
Related to: kubernetes/enhancements#3257