mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 04:53:15 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/kubectl-certificate
Normal file
29
tldr/kubectl-certificate
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kubectl certificate
|
||||
|
||||
> Manage certificate signing requests.
|
||||
> More information: <https://kubernetes.io/docs/reference/kubectl/generated/kubectl_certificate>.
|
||||
|
||||
- Approve a certificate signing request by name:
|
||||
|
||||
`kubectl certificate approve {{csr_name}}`
|
||||
|
||||
- Deny a certificate signing request by name:
|
||||
|
||||
`kubectl certificate deny {{csr_name}}`
|
||||
|
||||
- Approve a certificate signing request defined in a manifest file:
|
||||
|
||||
`kubectl certificate approve --filename {{path/to/csr.yaml}}`
|
||||
|
||||
- Deny a certificate signing request defined in a manifest file:
|
||||
|
||||
`kubectl certificate deny --filename {{path/to/csr.yaml}}`
|
||||
|
||||
- Force reapproval of a certificate signing request that was previously denied:
|
||||
|
||||
`kubectl certificate approve --force {{csr_name}}`
|
||||
Reference in New Issue
Block a user