Adds comment about what the pickup ID is in the CSR controller
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
e0fc320d41
commit
6e57e1093f
@ -127,6 +127,9 @@ func (v *Venafi) Sign(ctx context.Context, csr *certificatesv1.CertificateSignin
|
||||
return err
|
||||
}
|
||||
|
||||
// The signing process with Venafi is slow. The "pickupID" allows us to track
|
||||
// the progress of the certificate signing. It is set as an annotation the
|
||||
// first time the Certificate is reconciled.
|
||||
pickupID := csr.GetAnnotations()[experimentalapi.CertificateSigningRequestVenafiPickupIDAnnotationKey]
|
||||
|
||||
// check if the pickup ID annotation is there, if not set it up.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user