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

store the actuation/reconcile status in the inventory object #2819

Merged
merged 1 commit into from Feb 23, 2022

Conversation

Liujingfang1
Copy link
Contributor

In the Store() function, it saves the actuation and reconcile status in
the InventoryResourceGroup object.

In the GetObject() function, it constructs the unstructured object of
the ResourceGroup CR with .status.resourceStatuses assigned.

Updated the unit test to cover this change.

@Liujingfang1
Copy link
Contributor Author

@mortent @karlkfi

Copy link
Contributor

@karlkfi karlkfi left a comment

Choose a reason for hiding this comment

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

/lgtm

I don't know if i have permission to approve here, but this looks solid.

@Liujingfang1 says that new fields will be ignored by the apiserver if the CRD hasn't been updated, and these are all new fields. So this should be a safe addition.

pkg/live/inventoryrg.go Outdated Show resolved Hide resolved
In the Store() function, it saves the actuation and reconcile status in
the InventoryResourceGroup object.

In the GetObject() function, it constructs the unstructured object of
the ResourceGroup CR with .status.resourceStatuses assigned.

Updated the unit test to cover this change.
@mortent mortent merged commit b1747d6 into kptdev:main Feb 23, 2022
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.

None yet

3 participants