Skip to content

Commit 769ffa4

Browse files
committed
Adjust spelling
1 parent c5e46c4 commit 769ffa4

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kubectl experience.
99
| plugin | description |
1010
|--------------|-------------|
1111
| prune-unused | Prune secrets or configmaps that are not being used in a given namespace. It checks against all resources from mounted volumes, env, envFrom and imagePullSecrets.
12-
| exec-cronjob | Execute a CronJob, by extracting the Job spec and apply it in the given namespace.
12+
| exec-cronjob | Run a cron job immediately by extracting the Job spec and creating a Job instance thereof.
1313

1414
## Getting started
1515

@@ -35,6 +35,7 @@ Options:
3535
-n, --namespace='': If present, the namespace scope for this CLI request
3636
-h, --help: Display this help
3737
```
38+
3839
### Exec cronjob
3940

4041
```bash
@@ -43,8 +44,8 @@ $ kubectl krew install exec-cronjob
4344
```
4445

4546
```
46-
Execute a CronJob, by extracting the Job spec and apply it in the given
47-
namespace.
47+
Run a cron job immediately by extracting the Job spec and creating a Job
48+
instance thereof.
4849
4950
Usage:
5051
kubectl exec-cronjob <name> [options]

exec-cronjob/kubectl-exec_cronjob.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env bash
2-
# Execute a CronJob, by extracting the Job spec and apply it in the given
3-
# namespace
2+
# Run a cron job immediately by extracting the Job spec and creating a Job
3+
# instance thereof.
44

5-
set -e
5+
set -ex
66

77
function usage() {
8-
echo "Execute a CronJob, by extracting the Job spec and apply it in the given"
9-
echo "namespace."
8+
echo "Run a cron job immediately by extracting the Job spec and creating a"
9+
echo "Job instance thereof."
1010
echo ""
1111
echo "Usage:"
1212
echo " kubectl exec-cronjob <name> [options]"

0 commit comments

Comments
 (0)