Created
June 1, 2020 10:55
-
-
Save abohmeed/66f9a02e8f283dbb6335818e71aee955 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| check("The following error occured while sending the Certificate Signing Request", err) | |
| csr.Status.Conditions = append(csr.Status.Conditions, certificates.CertificateSigningRequestCondition{ | |
| Type: certificates.CertificateApproved, | |
| Reason: "User activation", | |
| Message: "This CSR was approved", | |
| LastUpdateTime: v1.Now(), | |
| }) | |
| csr, err = clientset.CertificatesV1beta1().CertificateSigningRequests().UpdateApproval(context.Background(), csr, v1.UpdateOptions{}) | |
| check("The following error occured while approving the Certificate Signing Request", err) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment