sigs.k8s.io/kubebuilder/v3@v3.14.0/scripts/demo/README.md (about)

     1  This directory contains scripts to run a quick demo of Kubebuilder.
     2  
     3  Steps to run demo:
     4  
     5  ```sh
     6  mkdir /tmp/kb-demo
     7  cd /tmp/kb-demo
     8  DEMO_AUTO_RUN=1 ./run.sh
     9  
    10  ```
    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  # After each step, press <Enter> to proceed to the next step
    24  
    25  <CTRL-C> to terminate the script
    26  <CTRL-D> to terminate the asciinema recording
    27  <CTRL-C> to save the recording locally
    28  
    29  # Edit the recorded file by editing the controller-gen path
    30  # Once you are happy with the recording, use svg-term program to generate the svg
    31  
    32  svg-term --in=<cast-file-path> --out demo.svg --window
    33  ```