Skip to content

Conversation

weyfonk
Copy link
Contributor

@weyfonk weyfonk commented Oct 9, 2025

While Fleet config files are typically named fleet.yaml, the recent introduction of user-driven bundle scanning enables a config file to be named arbitrarily, in which case it must still be excluded from the corresponding bundle. Fleet now takes care of this without any action needed from the user.

Integration tests also demonstrate that .fleetignore files can be leveraged to exclude config files living in the same directory as the config file referenced explicitly through user-driven bundle scanning. Fleet would otherwise not exclude those files from the bundle.

Refers to rancher/fleet-docs#307
Backport of #4207 to release/v0.13.

Additional Information

Checklist

While Fleet config files are typically named `fleet.yaml`, the recent
introduction of user-driven bundle scanning enables a config file to be
named arbitrarily, in which case it must still be excluded from the
corresponding bundle. Fleet now takes care of this without any action
needed from the user.

Integration tests also demonstrate that `.fleetignore` files can be
leveraged to exclude config files living in the same directory as
the config file referenced explicitly through user-driven bundle
scanning. Fleet would otherwise not exclude those files from the bundle.
@weyfonk weyfonk requested a review from a team as a code owner October 9, 2025 07:11
@weyfonk weyfonk changed the title Exclude Fleet config files regardless of their naming [v0.13] Exclude Fleet config files regardless of their naming Oct 9, 2025
@weyfonk weyfonk merged commit 02ac738 into rancher:release/v0.13 Oct 10, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants