Fix create cronjob help message

This commit is contained in:
Maciej Szulik 2020-05-12 10:35:50 +02:00
parent 1cad79ee2e
commit b2b5952796
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

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 {