kubectl.kubernetes.io/last-applied-configuration
annotation causes false positive on deprecated api report
#495
Labels
documentation
Improvements or additions to documentation
What happened?
We have a
CronJob
that showed up in thepluto
report.For this resource, the
kind
has been updated to a current API but thekubectl.kubernetes.io/last-applied-configuration
still shows the deprecated API.Here you can see that
batch/v1
is used butbatch/v1beta1
still exists on the annotation. Pluto marks this as a resource in need of update.I consider this to be a false positive.
Pluto report:
What did you expect to happen?
I'd expect the pluto report to not include results from the
kubectl.kubernetes.io/last-applied-configuration
annotation since this would require a 2nd deployment to clear items from the report.How can we reproduce this?
Add a deprecated api to the
kubectl.kubernetes.io/last-applied-configuration
annotation while using a current one on the resource.Version
Version:5.16.3 Commit:02eccc41292c2b4380fa05f6406628fd1afe6cb9
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: