-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow gitops to disable gitops mode (#26794)
For #26743 This PR fixes an issue where using `fleetctl gitops` unsets the "gitops mode" settings in the UI. The code which prepares the config spec to send to the "modify config" endpoint deliberately copies over the current app settings for gitops mode to facilitate this. I updated an existing test to verify the new behavior.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters