fleet/cmd/fleetctl/testdata
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
..
gitops Merge branch 'main' into feat-software-self-service 2024-05-31 18:15:19 +01:00
convert_input.conf Update fleetctl convert for schedulable queries (#13125) 2023-08-08 10:39:20 -07:00
convert_output.yml Save Query Results to DB (#14335) 2023-10-10 09:44:03 -03:00
expectedGetConfigAppConfigJson.json Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
expectedGetConfigAppConfigYaml.yml Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
expectedGetConfigIncludeServerConfigJson.json Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
expectedGetConfigIncludeServerConfigYaml.yml Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
expectedGetTeamsJson.json add CLI and endpoints to set software via fleetctl apply (#18876) 2024-05-14 15:06:33 -03:00
expectedGetTeamsText.txt fleetctl get teams prints team id (#18395) 2024-04-29 09:56:04 -04:00
expectedGetTeamsYaml.yml 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
expectedHostDetailResponseJson.json Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
expectedHostDetailResponseYaml.yml Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
expectedListHostsJson.json Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
expectedListHostsMDM.json Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
expectedListHostsYaml.yml Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
macosSetupExpectedAppConfigEmpty.yml Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
macosSetupExpectedAppConfigSet.yml Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
macosSetupExpectedTeam1And2Empty.yml 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
macosSetupExpectedTeam1And2Set.yml 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
macosSetupExpectedTeam1Empty.yml 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
macosSetupExpectedTeam1Set.yml 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