forked from harvester/harvester
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update APIs to align with other resources
- Add "generate" archive action - Add "download" link with archive name as a query string - Change UpgradeLog.Spec.Upgrade to UpgradeName - Add retry for get archive http requests - Fix log downloader endpoint with a Service object - Especially for error code 4, this is due to log line incomplete, jq considers the line is broken therefore stop processing. - Change compression format to zip to align with SB - Tear down UpgradeLog when the Upgrade is missing Normally, the UpgradeLog CR will be deleted when the corresponding Upgrade CR is removed. But this provides us a double insurance to clean the mess up. Note: this commit only addresses the situation that happened at the beginning of the UpgradeLogReady phase. No further checks after the point in time. Signed-off-by: Zespre Chang <zespre.chang@suse.com>
- Loading branch information
Showing
108 changed files
with
4,188 additions
and
1,723 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
Oops, something went wrong.