Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact(upgrade, design): added status to versionDetails spec #2761

Merged
merged 4 commits into from
Oct 4, 2019

Conversation

shubham14bajpai
Copy link
Contributor

Signed-off-by: shubham shubham.bajpai@mayadata.io

What this PR does / why we need it:
This PR adds status to the versionDetails spec. To update the upgradeTask CR we need the status of the reconciliation happening in the controller. The status of versionDetails will provide that status to the upgrade job which can be patched to the upgradeTask CR.

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
@@ -258,6 +258,15 @@ This design proposes the following key changes:
#this flag will be set to "no" when current != desired.
#after upgrading all the child objects, this will be changed to yes.
dependentsUpgraded:
#status gives the details about the reconciliation of the version
status:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LastUpdatedTime to know when the status really got updated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
Copy link
Contributor

@vishnuitta vishnuitta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes are good

@vishnuitta vishnuitta merged commit ba52413 into openebs:master Oct 4, 2019
@shubham14bajpai shubham14bajpai deleted the oep branch October 16, 2019 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants