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:
parent
a9339849e5
commit
1649730a0d
@ -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/") ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user