mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 09:53:04 +00:00
Update cheatsheets
This commit is contained in:
26
cmctl
Normal file
26
cmctl
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cmctl
|
||||
|
||||
> Manage cert-manager resources inside your cluster.
|
||||
> Check cert signing status, approve/deny requests, and issue new certificate requests.
|
||||
> More information: <https://cert-manager.io/docs/usage/cmctl/>.
|
||||
|
||||
- Check if the cert-manager API is ready:
|
||||
|
||||
`cmctl check api`
|
||||
|
||||
- Check the status of a certificate:
|
||||
|
||||
`cmctl status certificate {{cert_name}}`
|
||||
|
||||
- Create a new certificate request based on an existing certificate:
|
||||
|
||||
`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}}`
|
||||
|
||||
- Create a new certificate request, fetch the signed certificate, and set a maximum wait time:
|
||||
|
||||
`cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}} --fetch-certificate --timeout {{20m}}`
|
||||
Reference in New Issue
Block a user