This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A manual release through the API or then with fluxctl may come across cases where configuration prevents it to perform a certain update. That can either be a locked controller, or a container image that is filtered. This PR adds `--force` to the CLI and `Force` to the release spec in the API to circumvent restrictions on a per-command basis. For locked controllers, `--force` will disregard their locked state when controllers are listed separeately. But `--all` invocation will ignore the `--force` flag. For container tag filters, `--force` will allow to update to images outside of that specification. Again, using `--update-all-images` will remove the effect of `--force` for images. For older daemons used in conjunction with a new fluxctl, the `--force` param will just be ignored which should be OK since it's doing less than intended.
- Loading branch information
Showing
3 changed files
with
271 additions
and
10 deletions.
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
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