fleet/pkg/spec
Victor Lyuboslavsky 05eb338561
Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616)
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
2024-06-11 13:20:32 -05:00
..
testdata Support environment variables in config profiles (#18891) 2024-05-28 13:44:43 -03:00
gitops.go Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616) 2024-06-11 13:20:32 -05:00
gitops_test.go Support environment variables in config profiles (#18891) 2024-05-28 13:44:43 -03:00
spec.go Add support for escaping $ in gitops yamls (#18845) 2024-05-09 12:29:16 -03:00
spec_test.go Add support for escaping $ in gitops yamls (#18845) 2024-05-09 12:29:16 -03:00