-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ClusterVersion with a desired field and a history field
The current field is not useful because it doesn't represent level driven flows well. Instead, track the version the cluster is working towards as `status.desired` and each time that target changes update the `status.history` field. The `status.history` field allows us to know what previous updates were made and what times those completed. Even though rollback is not desirable, we need to report a field that indicates what the last successfully applied version was (user starts at 4.0.0, then upgrades to 4.0.1, which fails, then a new 4.0.2 version is released that also fails, we need to report 4.0.0 as the version to go back to).
- Loading branch information
1 parent
bf3bcbe
commit cae4137
Showing
2 changed files
with
86 additions
and
6 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.