Skip to content

Commit b2c4917

Browse files
authored
Merge pull request #1038 from droot/running/update-demo-movie
🏃 update the demo movie to 2.0.1 release
2 parents 885f36e + dc46aa0 commit b2c4917

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Follow the [instructions](https://book.kubebuilder.io/quick-start.html#installat
1818

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

21-
![Quick Start](docs/gif/quickstart-1.0.0.gif)
21+
![Quick Start](docs/gif/kb-demo.v2.0.1.svg)
2222

2323
## Documentation
2424

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

+1
Loading

scripts/demo/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,24 @@ cd /tmp/kb-demo
88
DEMO_AUTO_RUN=1 ./run.sh
99

1010
```
11+
12+
Instructions for producing the demo movie:
13+
14+
```sh
15+
16+
# Create temporary directory
17+
mkdir /tmp/kb-demo
18+
cd /tmp/kb-demo
19+
20+
asciinema rec
21+
<path-to-KB-repo>/scripts/demo/run.sh
22+
23+
<CTRL-C> to terminate the script
24+
<CTRL-D> to terminate the asciinema recording
25+
<CTRL-C> to save the recording locally
26+
27+
# Edit the recorded file by editing the controller-gen path
28+
# Once you are happy with the recording, use svg-term program to generate the svg
29+
30+
svg-term --cast=<movie-id> --out demo.svg --window
31+
```

scripts/demo/run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ desc "Examine scaffolded files..."
2727
run "tree ."
2828
clear
2929

30-
desc "Let's create cronjob api"
30+
desc "Create our custom cronjob api"
3131
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"
3535
run "tree ./api ./controllers"
3636
clear
3737

38-
desc "Install CRD in Kubernetes cluster"
38+
desc "Install CRDs in Kubernetes cluster"
3939
run "make install"
4040
clear
4141

0 commit comments

Comments
 (0)