Commit 259d39fa authored by Cao Shufeng's avatar Cao Shufeng

fix csr status message for kubectl certificate deny

parent df1d9b9e
......@@ -200,7 +200,7 @@ func (o *CertificateOptions) RunCertificateDeny(force bool) error {
csr.Status.Conditions = append(csr.Status.Conditions, certificates.CertificateSigningRequestCondition{
Type: certificates.CertificateDenied,
Reason: "KubectlDeny",
Message: "This CSR was approved by kubectl certificate deny.",
Message: "This CSR was denied by kubectl certificate deny.",
LastUpdateTime: metav1.Now(),
})
return csr, false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment