Fix create cronjob help message

Kubernetes-commit: b2b59527964a3629f5d50e4b724aa027b4c36cc5
This commit is contained in:
Maciej Szulik 2020-05-12 10:35:50 +02:00 committed by Kubernetes Publisher
parent 19fd05792d
commit b0e673d0df
1 changed files with 2 additions and 5 deletions

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 {