Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 666 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 666 Bytes

Output Mermaid graph script from Operator Lifecycle Manager indices

Required:

make, sqlite3, go v14+, container execution environment (such as Docker, podman)

Usage

Adjust the sqlite file pointed to in sqlite3.sql, this controls what index gets graphed

Then:

make run <ARGS=operator-package-name>

Your Mermaid graph should open if open command opens PNG files on your host.

If not, image file saved as /tmp/mermaid.mer.png
Mermaid script file will be ./mermaid.mer

Note

  • First time usage of make run may be slow due to download of Mermaid Docker image.
  • tweak the makefile if you need other file output types than SVG