1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

cmctl: add page (#8230)

This commit is contained in:
Adrien Thebo 2022-07-20 16:34:30 -07:00 committed by GitHub
parent 50170420d8
commit d6bb1c78b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
pages/common/cmctl.md Normal file
View file

@ -0,0 +1,21 @@
# cmctl
> A CLI tool that can help you to 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}}`