Fleet: Deploy the same repo via kustomize to different namespaces on the same cluster
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.
Demo and usage examples: https://github.com/0xavi0/fleet-examples/tree/presentation
@edenhernandez-suse XU required
Unit tests added however I think it's worth doing a quick sanity check to ensure everything works as expected
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