-
Notifications
You must be signed in to change notification settings - Fork 40k
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
kubeadm: include the 'certs renew' sub-command in the CLI #68808
Conversation
fb3f47d
to
8b228a9
Compare
cmd/kubeadm/app/cmd/phases/certs.go
Outdated
certTree, err := certsphase.GetDefaultCertList().AsMap().CertTree() | ||
kubeadmutil.CheckErr(err) | ||
|
||
subCmds := []*cobra.Command{allCmd, saCmd, renewCmd} |
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.
Personally it's more clear to move this line after L125. But it's ok as-is.
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.
EDITED
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.
actually this isn't good either.
will revert the change to reduce the noise.
The command seems to be missing in the CLI. Add it as sub-command under 'kubeadm alpha phase certs'.
8b228a9
to
48d52a3
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: liztio, neolit123, timothysc 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 |
/assign @smarterclayton for |
What this PR does / why we need it:
The new 'renew' command seems to be missing in the CLI.
Add it as sub-command under 'kubeadm alpha phase certs'.
to follow up on these series:
https://github.com/kubernetes/kubernetes/commits/master/cmd/kubeadm/app/cmd/phases/certs/renew.go
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):NONE
Special notes for your reviewer:
NONE
Release note:
/priority critical-urgent
/kind bug
@kubernetes/sig-cluster-lifecycle-pr-reviews
/assign @liztio @timothysc