617 Commits
Author SHA1 Message Date
Philippe MerleandGitHub bb322e7b4f Merge pull request #81 from Allsimon/resolve-symlinks-in-self-location
feat(kube-diagrams): resolve symlinks when locating config and icons
2026-07-20 14:10:28 +02:00
asimon f34baa0c14 feat(kube-diagrams): resolve symlinks when locating config and icons
`os.path.dirname(__file__)` returns the symlink's directory when the script is invoked through a symlink (Nix, ln -s into ~/.local/bin), so kube-diagrams.yaml and icons/ are not found.

Use `os.path.realpath(__file__)` to resolve to the real script location. No behavior change for copied installs (`pip/setup.py` scripts).
2026-07-18 16:31:34 +02:00
Philippe MerleandGitHub 8e9fd918cb Merge pull request #80 from Sandor59100/feature/cluster-context-selector
Diagram format additions, cluster improvements, and backend security hardening
2026-07-17 16:37:11 +02:00
Philippe Merle 9ae75d8a20 Set an old version for GitLab Helm Chart as recent versions (aka 10.x.x) requires to install an external storage 2026-07-17 14:55:16 +02:00
Philippe Merle 0b552f5137 Update URL to Kubernetes Dashboard Helm Chart 2026-07-17 14:42:58 +02:00
Sadallah 4d42d26d98 feat(webapp) : add cluster context selector
- Add clusterService.get_contexts() and GET /api/cluster/contexts

 - Thread optional context against the real context list before use

 - Replace read-only "Context: X" text with a context dropdown in ClusterTab

 - Switching context resets namespace/resource type selections and reloads them for the new cluster
2026-07-17 14:20:37 +02:00
Sadallah 3d05ce9ada fix(webapp) : harden backend input validation and error handling 2026-07-17 00:59:05 +02:00
Sadallah 637b7786b4 fix(webapp) : fix Mermaid size limit, Monaco YAML editor, and Cluster history bug :
- Increase Mermaid maxTextSize/maxEdges to support large cluster diagram
-  Add shared useHistorySync hook across Manifest/Helm/HelmFile/Cluster tab
- Fix Cluster history: missing id causing overwrite, restore only working once, diagram not restored, duplicate entry created on restore
- Add cluster label/color to HistoryPanel and remove dead code
2026-07-17 00:56:07 +02:00
Sadallah afd27b16c4 feat(webapp) : render DOT diagrams inline instead of copy paste
- Add dot_to_svg()  in utils.py
- Add DotViewer in DiagramViewer.jsx to replace Copy-to-GraphvizOnline
2026-07-17 00:56:01 +02:00
Sadallah b01187b283 feat(webapp) : add D2 diagram output format and fix bug
- Wire D2
- Add D2Viewer
- Fix switching format bug
- prettier formatting pass
2026-07-17 00:55:53 +02:00
Sadallah bb10859539 feat(webapp) : add Mermaid diagram output format, fix minor bug
- Wire Mermaid
- Add MermaidViewer, rendered via mermaid.render().
- Darken label background/text.
- Fix buttons +, -, fit  and reset. Now more visible
- Fix generation for it show directly all the diagram.
- ExampleSelector fix, minor bug on helm chart
2026-07-17 00:55:45 +02:00
Philippe Merle 6bc64e6533 Add a referencing site 2026-07-13 14:05:09 +02:00
Philippe Merle 311d01f359 Initialize next release 2026-07-08 17:36:15 +02:00
Philippe Merle 5285e342c3 Add a Reddit post to announce KubeDiagrams 0.8.0 2026-07-08 17:14:11 +02:00
Philippe MERLE dbe3cfb1de Fix a bug in generate_from_cluster() 2026-07-08 16:36:27 +02:00
Philippe MERLE 1403635136 Git ignore package-lock.json 2026-07-08 16:35:09 +02:00
Philippe Merle 29941c4f9b Upgrade version to 0.8.0 v0.8.0 2026-07-08 09:08:41 +02:00
Philippe Merle cfa80d46a5 Improve interactive viewer with resource kind filtering 2026-07-06 15:39:04 +02:00
Philippe Merle a3540b24be Improve interactive viewer with resource kind filtering 2026-07-06 15:34:48 +02:00
Philippe MerleandGitHub 60f400a24f Merge pull request #78 from Sandor59100/feature/interactive-viewer-improvements
Feature/interactive viewer improvements
2026-07-06 15:05:08 +02:00
Sadallah e72cbd68f8 feat(webapp): replace resource filter columns with toolbar dropdowns
- Turn each resource category into a compact dropdown button in the toolbar instead of an always-expanded checkbox column

- Show the filter panel as a floating overlay to not push down the canvas.
2026-07-05 15:10:23 +02:00
Sadallah dab2c22076 feat(webapp): add interactive viewer enrichment
- Enrich dot_json generation (icon URLs, node positions) in cluster, helm, helmfile, and manifest backend  services

    - Add resource category filters and cluster icon rendering to the interactive viewer

    - Auto-scroll to output on generation in Cluster/Helm/HelmFile/Manifest tabs
2026-07-05 14:05:42 +02:00
Philippe Merle 5ed7bedd02 Add both D2 and Mermaid output formats to Architecture figure 2026-07-04 16:06:49 +02:00
Philippe Merle 955271ff7f Add a LinkedIn post 2026-07-04 09:09:14 +02:00
Philippe MerleandGitHub 4c6252b93c Merge pull request #77 from Sandor59100/feature/monaco-editor
feat(webapp): add Monaco editor and improve UI components
2026-07-02 18:24:49 +02:00
Sadallah 51c1869fac feat(webapp): add Monaco editor and improve UI components 2026-07-02 15:08:11 +02:00
Philippe Merle 8b154de0ab Add a Kubernetes architecture diagram for KubeDiagrams WebApp 2026-07-02 14:58:23 +02:00
Philippe MERLE 8cfed21874 Add support for deploying the webapp in a Kubernetes cluster 2026-07-02 13:55:11 +02:00
Philippe MERLE fd6f4077cc Add a script to build and push both KubeDiagrams WebApp frontend and backend container images 2026-07-02 13:36:41 +02:00
Philippe MERLE ad0d1b7bc7 Improve README.md 2026-07-02 13:35:27 +02:00
Philippe Merle eed1b0d6bd Add support for D2 output format 2026-06-30 15:32:07 +02:00
Philippe Merle 63fa668d41 Lint Kub-eidagrams script 2026-06-28 16:50:02 +02:00
Philippe Merle a903b07a6c Add support for Mermaid format 2026-06-28 16:18:01 +02:00
Philippe Merle 2ea92f20e0 Add a post on X 2026-06-28 08:14:59 +02:00
github-actions[bot]andgithub-actions[bot] f9380362d9 chore: update example diagrams 2026-06-26 10:09:54 +00:00
Philippe Merle c63291b150 Regenerated cassandra.png 2026-06-26 12:09:16 +02:00
github-actions[bot]andgithub-actions[bot] 5440c64fca chore: update example diagrams 2026-06-26 10:03:37 +00:00
Philippe Merle 667915ee12 Fixed edges for StatefulSet spec.volumeClaimTemplates 2026-06-26 12:03:00 +02:00
github-actions[bot]andgithub-actions[bot] 9790b81b64 chore: update example diagrams 2026-06-26 09:40:27 +00:00
Philippe Merle 34d3439ff9 Fix a vulnerability found by FOSSA 2026-06-26 11:39:53 +02:00
Philippe MERLE 92237b84fa Used pygraphviz version 1.14 as latest version introduces build errors 2026-06-26 11:26:10 +02:00
Philippe Merle 702705d29f Duplicated data when creating new PersistentVolumeClaim resources to avoid to modify these data 2026-06-26 09:50:03 +02:00
Philippe Merle db2adae0f5 Document KubeDiagrams Plugin for JetBrains IDEs 2026-06-24 13:42:56 +02:00
Philippe Merle 9fbbcafc52 Add a link to KubeThings, a Kubernetes Tools Directory 2026-06-24 13:26:00 +02:00
Philippe Merle 2206eb0683 Add a blog link 2026-06-15 06:09:57 +02:00
Philippe Merle 9edd27d8f2 Add acronyms in ComponentStatus, ControllerRevision, FlowSchema, and PriorityLevelConfiguration icons 2026-06-14 19:10:33 +02:00
github-actions[bot]andgithub-actions[bot] 1e34dd0a39 chore: update example diagrams 2026-06-14 16:09:00 +00:00
Philippe MERLE 317766267b Add support for ComponentStatus, ControllerRevision, FlowSchema, and PriorityLevelConfiguration kinds 2026-06-14 18:08:07 +02:00
Philippe MERLE c4748a9800 Reduce max node label length in order to reduce 'size too small for label' warnings generated by dot 2026-06-14 16:22:52 +02:00
Philippe MERLE 7d02a92258 Fix edges computation for EndpointSlice/discovery.k8s.io/v1 2026-06-14 15:54:41 +02:00