From d6bb1c78b19fe78a2780b0c97829449d37b8d5df Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Wed, 20 Jul 2022 16:34:30 -0700 Subject: [PATCH] cmctl: add page (#8230) --- pages/common/cmctl.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/cmctl.md diff --git a/pages/common/cmctl.md b/pages/common/cmctl.md new file mode 100644 index 0000000000..b65fc894d7 --- /dev/null +++ b/pages/common/cmctl.md @@ -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: . + +- 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}}`