Skip to content

Commit f4dbb5c

Browse files
authored
Merge pull request #2441 from ycyaoxdu/book-tutorial1-modify
📖 Modify commands & add notes to cronjob-tutorial
2 parents 9155233 + 11426d5 commit f4dbb5c

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ You need to follow [this](./cert-manager.md) to install the cert manager bundle.
1919
Run the following command to build your image locally.
2020

2121
```bash
22-
make docker-build
22+
make docker-build docker-push IMG=<some-registry>/<project-name>:tag
2323
```
2424

2525
You don't need to push the image to a remote container registry if you are using
26-
a kind cluster. You can directly load your local image to your kind cluster:
26+
a kind cluster. You can directly load your local image to your specified kind cluster:
2727

2828
```bash
29-
kind load docker-image your-image-name:your-tag
29+
kind load docker-image <your-image-name>:tag --name <your-kind-cluster-name>
3030
```
3131

3232
## Deploy Webhooks

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,13 @@ make docker-build docker-push IMG=<some-registry>/<project-name>:tag
7272
make deploy IMG=<some-registry>/<project-name>:tag
7373
```
7474

75+
<aside class="note">
76+
<h1>registry permission</h1>
77+
78+
This image ought to be published in the personal registry you specified. And it is required to have access to pull the image from the working environment.
79+
Make sure you have the proper permission to the registry if the above commands don't work.
80+
81+
</aside>
82+
7583
If we list cronjobs again like we did before, we should see the controller
7684
functioning again!

docs/book/src/quick-start.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ make deploy IMG=<some-registry>/<project-name>:tag
199199
```
200200

201201
<aside class="note">
202+
<h1>registry permission</h1>
203+
204+
This image ought to be published in the personal registry you specified. And it is required to have access to pull the image from the working environment.
205+
Make sure you have the proper permission to the registry if the above commands don't work.
206+
202207
<h1>RBAC errors</h1>
203208

204209
If you encounter RBAC errors, you may need to grant yourself cluster-admin

0 commit comments

Comments
 (0)