dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Fleet: Deploy the same repo via kustomize to different namespaces on the same cluster

Open torchiaf opened this issue 11 months ago • 4 comments

Is your feature request related to a problem? Please describe.

Fleet issue: https://github.com/rancher/fleet/issues/210

Fleet will add the possibility to specify different paths to point to multiple fleet.yaml files in the same GitRepo

Describe the solution you'd like

The UI should handle the new paths definitions.

torchiaf avatar Jan 23 '25 16:01 torchiaf

Demo and usage examples: https://github.com/0xavi0/fleet-examples/tree/presentation

torchiaf avatar Apr 28 '25 09:04 torchiaf

@edenhernandez-suse XU required

torchiaf avatar May 12 '25 08:05 torchiaf

Unit tests added however I think it's worth doing a quick sanity check to ensure everything works as expected

yonasberhe23 avatar Jun 26 '25 18:06 yonasberhe23

Tested on latest (Rancher v2.12-e6fa86c1c80079ebf13bb603be09ec1e647ac366-head / Dashboard master 8dd0141)

Test data comes from https://github.com/0xavi0/fleet-examples/tree/presentation/example4

Inputs:

Repository URL: https://github.com/0xavi0/fleet-examples.git
Branch: presentation
Path: example4
Enable Subpaths
Subpaths:
kustomize, Options: dev.yaml
kustomize, Options: prod.yaml
kustomize, Options: test.yaml

https://github.com/user-attachments/assets/ed970dba-8c45-4d12-8bef-3cb4c087822d

yonasberhe23 avatar Jun 30 '25 23:06 yonasberhe23