I have created cronjob resource . in the yaml definition i hv given apiVersion: batch/v1beta1 but after applying when i see resource definition changes to the apiVersion: batch/v1

I have created cronjob resource . in the yaml definition i hv given apiVersion: batch/v1beta1 but after applying when i see resource definition changes to the apiVersion: batch/v1

Cluster information:v1.23

Kubernetes version:v1.23
Cloud being used: (aws)
Installation method:
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.