mirror of
https://github.com/fleetdm/fleet
synced 2026-05-09 10:11:03 +00:00
Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team #19332 `fleetctl apply` also gains this extra functionality. In `fleetctl apply` secrets will not be change if one of the following: - secrets is missing from yml - They are blank in yml, like: `secrets:` - They are null in yml, like: `secrets: null` They will only be cleared with `fleetctl apply` if the user explicitly sets them to an empty array, like: - `secrets: []` # 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 |
||
|---|---|---|
| .. | ||
| testdata | ||
| gitops.go | ||
| gitops_test.go | ||
| spec.go | ||
| spec_test.go | ||