Symptom:
We follow the https://book.kubebuilder.io/ and create an exampleIt error out when we do "make run"
the server could not find the requested resource (put cronjobs.batch.mycrontab cronjob-sample)"}
Solution:
After i check cronjob_types.go , add below, issue is fixed// +kubebuilder:subresource:status
type CronJob struct {
No comments:
Post a Comment