Skip to content

Commit 5360178

Browse files
authored
Merge pull request #3638 from MaGaroo/update-demo-svg
📖 Update kubebuilder demo svg in README
2 parents 1632534 + a36cb85 commit 5360178

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Follow the [instructions](https://book.kubebuilder.io/quick-start.html#installat
3737

3838
See the [Getting Started](https://book.kubebuilder.io/quick-start.html) documentation.
3939

40-
![Quick Start](docs/gif/kb-demo.v2.0.1.svg)
40+
![Quick Start](docs/gif/kb-demo.v3.11.1.svg)
4141

4242
Also, ensure that you check out the [Deploy Image](https://book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html)
4343
Plugin. This plugin allows users to scaffold API/Controllers to deploy and manage an

docs/gif/kb-demo.v2.0.1.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/gif/kb-demo.v3.11.1.svg

Lines changed: 1 addition & 0 deletions
Loading

scripts/demo/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ cd /tmp/kb-demo
2020
asciinema rec
2121
<path-to-KB-repo>/scripts/demo/run.sh
2222

23+
# After each step, press <Enter> to proceed to the next step
24+
2325
<CTRL-C> to terminate the script
2426
<CTRL-D> to terminate the asciinema recording
2527
<CTRL-C> to save the recording locally
2628

2729
# Edit the recorded file by editing the controller-gen path
2830
# Once you are happy with the recording, use svg-term program to generate the svg
2931

30-
svg-term --cast=<movie-id> --out demo.svg --window
32+
svg-term --in=<cast-file-path> --out demo.svg --window
3133
```

scripts/demo/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ run "kubebuilder create api --group batch --version v1 --kind CronJob"
3232
clear
3333

3434
desc "Let's take a look at the API and Controller files"
35-
run "tree ./api ./controllers"
35+
run "tree ./api ./internal/controller"
3636
clear
3737

3838
desc "Install CRDs in Kubernetes cluster"

0 commit comments

Comments
 (0)