What happened?
We have a CronJob that showed up in the pluto report.
For this resource, the kind has been updated to a current API but the kubectl.kubernetes.io/last-applied-configuration still shows the deprecated API.
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"batch/v1beta1","kind":"CronJob",...
Here you can see that batch/v1 is used but batch/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:
NAME NAMESPACE KIND VERSION REPLACEMENT DEPRECATED DEPRECATED IN REMOVED REMOVED IN REPL AVAIL REPL AVAIL IN
my-cronjob my-namespace CronJob batch/v1beta1 batch/v1 true v1.21.0 true v1.25.0 true v1.21.0
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
What happened?
We have a
CronJobthat showed up in theplutoreport.For this resource, the
kindhas been updated to a current API but thekubectl.kubernetes.io/last-applied-configurationstill shows the deprecated API.Here you can see that
batch/v1is used butbatch/v1beta1still 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-configurationannotation 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-configurationannotation while using a current one on the resource.Version
Version:5.16.3 Commit:02eccc41292c2b4380fa05f6406628fd1afe6cb9
Search
Code of Conduct
Additional context
No response