Update internal/controller/certificates/policies/checks.go

Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Tim Ramlot 2023-06-29 12:54:20 +01:00 committed by GitHub
parent a9339849e5
commit 1649730a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ func SecretManagedLabelsAndAnnotationsManagedFieldsMismatch(fieldManager string)
delete(managedAnnotations, k)
}
// Remove the non cert-manager labels from the managed Annotations so we can compare
// Remove the non cert-manager labels from the managed labels so we can compare
// 1 to 1 all the cert-manager labels.
for k := range managedLabels {
if strings.HasPrefix(k, "cert-manager.io/") ||