Add more context to SecretCertificateAnnotations
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
ee3cc828a9
commit
419ff43312
@ -193,7 +193,7 @@ func (s *SecretsManager) setValues(crt *cmapi.Certificate, secret *corev1.Secret
|
||||
|
||||
annotations, err := SecretCertificateAnnotations(crt, data)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("failed to build Secret annotations: %w", err)
|
||||
}
|
||||
|
||||
if secret.Annotations == nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user