-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
manual rotation of CA certificates (#15444 and #19165) #19351
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @abhiTamrakar! |
Deploy preview for kubernetes-io-master-staging ready! Built with commit de57586 https://deploy-preview-19351--kubernetes-io-master-staging.netlify.app |
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.
@abhiTamrakar Thanks for this addition, this is great! ✨ Seriously, this is one of the best new pages I've worked on in some time. I don't often get to work directly with page content, so thanks for making this a pleasure.
Thanks especially for following the style guide and adding callouts and capture statements. 👍
Some grammar and formatting fixes, otherwise LGTM from a docs perspective.
Note that Markdown only requires single back ticks for in-line code fencing. No need to add ```three```
.
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
This is awesome! Thanks! I think it would be worth having a quick tech review from @kubernetes/sig-cluster-lifecycle. While not directly related, it would be good to validate any disclaimers / pitfalls for performing manual CA rotation as documented. |
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
thanks for sending this PR @abhiTamrakar . @kubernetes/sig-auth-pr-reviews we need to establish the best practice for CA rotation, even if quite manual. please advise on the way forward and whether this document is something that we should include. |
To let Prow understand your intentions @abhiTamrakar I am going to update the PR title to match conventions: |
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.
Good work @abhiTamrakar
Here's some feedback, including suggestions you can accept if you're happy to.
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
content/en/docs/tasks/tls/manual-rotation-of-ca-certificates.md
Outdated
Show resolved
Hide resolved
@zacharysarah 'a' were not getting parsed properly in the ordered list (https://github.com/kubernetes/website/pull/19351/files#diff-f7024f94c2d9c79b0e5ce9a9c0f8aaa7R111) So i changed it to numbers in the nested lists as well. |
content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-certs.md
Outdated
Show resolved
Hide resolved
The preview is https://deploy-preview-19351--kubernetes-io-master-staging.netlify.com/docs/tasks/tls/manual-rotation-of-ca-certificates/ (@abhiTamrakar - once I know what the URL of the preview page is for my changes, I typically amend the PR description to include a link) |
@sftim thanks for helping hand, @neolit123 advise worked, I knew about reset hard just forgot about git reflog. I removed the labels that got added as part of the rebase with upstream. |
@micahhausler @deads2k review please. |
@abhiTamrakar after squashing and pushing you should see that https://github.com/kubernetes/website/pull/19351/commits is just one commit It does not look as if you have squashed and force-pushed |
/remove-area blog |
@sftim doing now. |
Apply suggestions from code review Co-Authored-By: Zach Corleissen <[email protected]> fix typo in kubelet client certificate name use both old and new CA for rotation include an alternative approach for CA rotation remove alternative approach Apply suggestions from code review Co-authored-by: Micah Hausler <[email protected]> reorder some tasks to avoid restart all pods again. reordered the CA rotation steps nit: fixing typo cause by an extra character. added reference to pod disruption budget
That looks squashed to me! |
@kubernetes/sig-auth-pr-reviews please take a look |
@deads2k could you please review, @micahhausler requested a review from you as well. |
@abhiTamrakar |
@abhiTamrakar: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What's the recommendation here? Last time I rebased there were 2k commits introduced. |
you seem to be using your local master branch which is quite messy. i'm willing to take over this PR, rather than explaining standard git workflows. would you agree to that? |
new PR is here:
@abhiTamrakar |
Yeah that's the basic mistake happened. |
This PR is meant to address the steps for manual rotation of CA certificates.
Preview link: https://deploy-preview-19351--kubernetes-io-master-staging.netlify.com/docs/tasks/tls/manual-rotation-of-ca-certificates/