Merge pull request #91013 from soltysh/fix_createcronjob

Fix create cronjob help message
This commit is contained in:
Kubernetes Prow Robot 2020-05-13 15:59:51 -07:00 committed by GitHub
commit dbba2c198b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,13 +41,10 @@ var (
cronjobExample = templates.Examples(`
# Create a cronjob
kubectl create cronjob my-job --image=busybox
kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *"
# Create a cronjob with command
kubectl create cronjob my-job --image=busybox -- date
# Create a cronjob with schedule
kubectl create cronjob test-job --image=busybox --schedule="*/1 * * * *"`)
kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *" -- date`)
)
type CreateCronJobOptions struct {