Currently, observedGeneration is only set in status level for gitrepository resource. It would be helpful to set observedGeneration under conditions as well. To reliably rely on kubectl wait command for ready condition to be met.
If the previous condition was ready for gitrepository resource then, sometime kubectl wait will confirm to soon as condition met based on previous Ready condition.
observedGeneration can be set to all conditions of all Kinds
Currently,
observedGenerationis only set in status level for gitrepository resource. It would be helpful to set observedGeneration under conditions as well. To reliably rely on kubectl wait command for ready condition to be met.If the previous condition was ready for gitrepository resource then, sometime kubectl wait will confirm to soon as condition met based on previous Ready condition.
observedGenerationcan be set to all conditions of all Kinds