fleet/pkg/spec
Victor Lyuboslavsky 4f4800be19
GitOps remove teams (#18640)
#16677 

Improvements to `fleetctl gitops` command:
- Added the ability to pass multiple files, like `fleetctl gitops -f
file1 -f file2`, where the first file must be the global configuration
- Added the ability to remove teams that were not specified in team
configs using the switch `--delete-other-teams`
- When passing a global config and team config during initial
configuration, the `org_settings.mdm.apple_bm_default_team` value can be
set to match the team that will be created by the provided team config.

After these changes are released to prod, we can update
https://github.com/fleetdm/fleet-gitops to use the new switches: #18692

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-03 08:03:00 -05:00
..
testdata Delete expired activities in cleanup cron (#18441) 2024-04-26 07:22:31 -03:00
gitops.go Adding full unicode/emoji support for team/policy names. (#17163) 2024-02-27 12:55:05 -06:00
gitops_test.go Delete expired activities in cleanup cron (#18441) 2024-04-26 07:22:31 -03:00
spec.go GitOps remove teams (#18640) 2024-05-03 08:03:00 -05:00
spec_test.go fix various bugs after testing windows MDM profiles (#15264) 2023-11-22 10:48:28 -03:00