OpenLiberty / open-liberty-operator

Eclipse Public License 2.0
28 stars 36 forks source link

Add observedGeneration field to CR status #535

Open leochr opened 7 months ago

leochr commented 7 months ago

To improve ability to check if spec matches reconciled version metadata.generation should be copied into status.observedGeneration once all resources are updated / created.

This can be looked up to ensure that the updates to CR are actually processed.

Users could get the current observedGeneration value before doing an update and then do an oc wait for the generation to be greater than the current value.

kabicin commented 6 months ago

OLO: https://github.com/OpenLiberty/open-liberty-operator/pull/554 WLO: https://github.com/WASdev/websphere-liberty-operator/pull/622 RCO: https://github.com/application-stacks/runtime-component-operator/pull/624 Tests: https://github.ibm.com/websphere/operators/pull/101.

leochr commented 4 months ago

@kabicin Thanks for the above PRs. Merged them.

Please add the RCO doc change to OLO as well. Also, raise a doc issue with ID to update WLO. Thanks