1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add flux tree command

The `flux tree kustomization` command prints the resources reconciled by the given Kustomization.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-10-23 11:04:31 +03:00
parent f2475988bd
commit 80ef184b60
8 changed files with 483 additions and 0 deletions

12
cmd/flux/testdata/tree/tree.golden vendored Normal file
View File

@@ -0,0 +1,12 @@
Kustomization/{{ .fluxns }}/flux-system
├── Namespace/{{ .fluxns }}
├── Deployment/{{ .fluxns }}/helm-controller
├── Deployment/{{ .fluxns }}/kustomize-controller
├── Deployment/{{ .fluxns }}/notification-controller
├── Deployment/{{ .fluxns }}/source-controller
├── Kustomization/{{ .fluxns }}/infrastructure
│ ├── Namespace/cert-manager
│ ├── HelmRepository/cert-manager/cert-manager
│ └── HelmRelease/cert-manager/cert-manager
└── GitRepository/{{ .fluxns }}/flux-system