flux2 icon indicating copy to clipboard operation
flux2 copied to clipboard

Order flux tree according to dependsOn

Open memelet opened this issue 6 months ago • 0 comments

Describe the bug

flux tree does not seem to take into consideration dependsOns It would be quite nice of tree nodes were sorted based on dependsOn

Steps to reproduce

flux tree ks <name>

output might be something like

Kustomization/flux-system/vimana
├── ConfigMap/flux-system/vimana-env
├── Kustomization/flux-system/vimana-apps
├── Kustomization/flux-system/vimana-config
│   └── ExternalSecret/default/vimana-jwt-secret
└── Kustomization/flux-system/vimana-data

if the items contain dependsOn the tree should be sorted according to that

Expected behavior

see above

Screenshots and recordings

No response

OS / Distro

N/A

Flux version

v2.5.1

Flux check

N/A

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

memelet avatar Apr 08 '25 00:04 memelet