fleet/cmd/fleetctl
Lucas Manuel Rodriguez 0488e4ec92
Fix fleetctl generate-gitops when MDM is turned off (#30677)
For unreleased bug #30656.

- [X] Added/updated automated tests
- [X] Manual QA for all new/changed functionality
- [X] For unreleased bug fixes in a release candidate, confirmed that
the fix is not expected to adversely impact load test results or alerted
the release DRI if additional load testing is needed.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved handling to ensure MDM-related data is only generated when
MDM is enabled and properly configured.
* Errors related to MDM configuration are now surfaced instead of being
silently ignored.

* **Tests**
* Added new tests to verify correct behavior when MDM is disabled and
not configured, ensuring empty or minimal outputs for MDM-related data
in this scenario.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-09 13:01:41 -03:00
..
fleetctl Fix fleetctl generate-gitops when MDM is turned off (#30677) 2025-07-09 13:01:41 -03:00
integrationtest 29619: Validate required default.yml on gitops run (#30360) 2025-06-30 21:04:37 -04:00
main.go Moved fleetctl to fleetctl package. (#28932) 2025-05-07 15:53:35 -05:00