Skip to content

Commit 359e8aa

Browse files
authored
Merge pull request kubernetes-sigs#2253 from minchao/cronjob-tutorial
📖 Add the --repo flag to init example of the cronjob tutorial
2 parents 7429836 + e8715b3 commit 359e8aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/book/src/cronjob-tutorial/cronjob-tutorial.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ Kubebuilder](../quick-start.md#installation), then scaffold out a new
4444
project:
4545

4646
```bash
47+
# create a project directory, and then run the init command.
48+
mkdir project
49+
cd project
4750
# we'll use a domain of tutorial.kubebuilder.io,
4851
# so all API groups will be <group>.tutorial.kubebuilder.io.
49-
kubebuilder init --domain tutorial.kubebuilder.io
52+
kubebuilder init --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io/project
5053
```
5154

5255
<aside class="note">

0 commit comments

Comments
 (0)