fix csr status message for kubectl certificate deny

pull/8/head
Cao Shufeng 2018-07-12 19:02:45 +08:00
parent df1d9b9e98
commit 259d39fade
1 changed files with 1 additions and 1 deletions

View File

@ -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