kubernetes-sigs/controller-tools

Tutorial Multi-Version API create batch_v2_cronjob failed

doing-cr7 opened this issue · 1 comments

Follow by this psot : https://kubebuilder.io/multiversion-tutorial/tutorial

There is a error

✗ kubectl create -f config/samples/batch_v2_cronjob.yaml 

Error from server (BadRequest): error when creating "config/samples/batch_v2_cronjob.yaml": CronJob in version "v2" cannot be handled as a CronJob: strict decoding error: unknown field "spec.schedule.concurrencyPolicy", unknown field "spec.schedule.jobTemplate", unknown field "spec.schedule.startingDeadlineSeconds"

i review lots of times this post from head to end, enure my project content same with post

Might make more sense to open this issue in the kubebuilder project (same for the other one)