diff --git a/pkg/crypto/certmanager/storage/awssecretsmanager/locker.go b/pkg/crypto/certmanager/storage/awssecretsmanager/locker.go index 34afc8c..1c55b98 100644 --- a/pkg/crypto/certmanager/storage/awssecretsmanager/locker.go +++ b/pkg/crypto/certmanager/storage/awssecretsmanager/locker.go @@ -123,6 +123,7 @@ func (ls *LockingStorer) unlock() error { return fmt.Errorf("unable to remove LOCK label for SecretId: %s", ls.secretId) } + ls.lockVersion = nil ls.logger.Printf("unlocked AWS Secrets Manager, SecretId: %s\n", ls.secretId) return nil