OC-ADM-CERTIFICATE-APPROVE(1)
π NAME
okay so bestie, this is oc adm certificate approve β as in, approve a certificate signing request. that's literally it, that's the whole vibe β¨
π SYNOPSIS
oc adm certificate approve [OPTIONS]
πΈ DESCRIPTION
Approve a certificate signing request. slay, that's the job π
So here's the tea: oc adm certificate approve lets a cluster admin approve a certificate signing request (CSR). what does that even do? it tells a certificate signing controller "hey, go issue a certificate to the requester with the attributes they asked for in the CSR." like, you're the one hitting the green button π’β¨
π¨ SECURITY NOTICE β bestie please read this one, i'm serious. depending on the requested attributes, that issued certificate can potentially grant a requester access to cluster resources, or let them authenticate as a requested identity. that's a whole lot of power in one lil CSR π so before you approve anything, make sure you actually understand what the signed certificate can do. not me begging you to vibe check before you click. fr fr π
β¨ OPTIONS β¨
--allow-missing-template-keys=trueβ iftrue, just ignore any errors in templates when a field or map key is missing in the template. but heads up: this only applies togolangandjsonpathoutput formats π«-f,--filename=[]β filename, directory, or URL to files identifying the resource to update ποΈ--force=falseβ update the CSR even if it's already approved. yes, even then π-k,--kustomize=""β process the kustomization directory. but bestie, this flag can't be used together with-for-Rβ pick a lane π«-o,--output=""β output format, one of: (json,yaml,kyaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file) π-R,--recursive=falseβ process the directory used in-f,--filenamerecursively. super useful when you wanna manage related manifests organized within the same directory π§--show-managed-fields=falseβ iftrue, keep themanagedFieldswhen printing objects in JSON or YAML format π--template=""β template string or path to template file to use when-o=go-template,-o=go-template-file. the template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview] β
π¦ OPTIONS INHERITED FROM PARENT COMMANDS
like, these aren't even yours, they're from the parent commands, but they're here and they're iconic π
--as=""β username to impersonate for the operation. user could be a regular user or a service account in a namespace π--as-group=[]β group to impersonate for the operation, this flag can be repeated to specify multiple groups π--as-uid=""β UID to impersonate for the operation πͺͺ--as-user-extra=[]β user extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key π§©--cache-dir="/homeless-shelter/.kube/cache"β default cache directory π¦--certificate-authority=""β path to a cert file for the certificate authority π--client-certificate=""β path to a client certificate file for TLS π«--client-key=""β path to a client key file for TLS ποΈ--cluster=""β the name of the kubeconfig cluster to use βοΈ--context=""β the name of the kubeconfig context to use π§--disable-compression=falseβ iftrue, opt-out of response compression for all requests to the server ποΈ--insecure-skip-tls-verify=falseβ iftrue, the server's certificate will not be checked for validity. um, this will make your HTTPS connections insecure π¬ careful bestie--kubeconfig=""β path to the kubeconfig file to use for CLI requests π--kuberc=""β path to the kuberc file to use for preferences. this can be disabled by exportingKUBECTL_KUBERC=falsefeature gate or turning off the featureKUBERC=offπ§--match-server-version=falseβ require server version to match client version π-n,--namespace=""β if present, the namespace scope for this CLI request π·οΈ--profile="none"β name of profile to capture, one of (none|cpu|heap|goroutine|threadcreate|block|mutex) π--profile-output="profile.pprof"β name of the file to write the profile to πΎ--request-timeout="0"β the length of time to wait before giving up on a single server request. non-zero values should contain a corresponding time unit (e.g.1s,2m,3h). a value of zero means don't timeout requests β³-s,--server=""β the address and port of the Kubernetes API server π--tls-server-name=""β server name to use for server certificate validation. if it is not provided, the hostname used to contact the server is used π₯οΈ--token=""β bearer token for authentication to the API server ποΈ--user=""β the name of the kubeconfig user to use π€--warnings-as-errors=falseβ treat warnings received from the server as errors and exit with a non-zero exit code π
π₯ EXAMPLE
# Approve CSR 'csr-sqgzp'
oc adm certificate approve csr-sqgzp
see? one line, done, iconic behavior π«Ά
π SEE ALSO
π HISTORY
June 2016, Ported from the Kubernetes man-doc generator π°οΈ
okay that's the whole page, go forth and approve responsibly ππ
kisses from the OpenShift CLI User Manuals crowd β this one's from Openshift, source/version Openshift CLI User Manuals, dated June 2016 πβ¨
π¦ where this page comes from
- nixpkgs unstable: openshift 4.22.0-202605222050
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms