Per the docs, "A change in the included repository will trigger an update of the including repository.". I'm attempting to include one repo in another, basically:
The dependency-repo reconciles properly, but dependent-repo never gets triggered.
I read through the gitrepository controller and test code, and it seems that when the dependent-repo reconciliation is triggered exclusively by either a generation change, or a reconciliation request. When this happens, if the dependency-repo has changed, the change will be included in the dependent-repo artifact even if the dependent-repo source hasn't been updated. However, when the dependency-repo is updated, nothing changes the dependent-repo generation, or annotates the dependent-repo with a reconciliation request annotation. As such, the dependency-repo update doesn't actually trigger a dependent-repo update.
Am I missing something here, or is this either a controller bug, or a documentation issue?
Per the docs, "A change in the included repository will trigger an update of the including repository.". I'm attempting to include one repo in another, basically:
The
dependency-repo
reconciles properly, butdependent-repo
never gets triggered.I read through the gitrepository controller and test code, and it seems that when the
dependent-repo
reconciliation is triggered exclusively by either a generation change, or a reconciliation request. When this happens, if thedependency-repo
has changed, the change will be included in thedependent-repo
artifact even if thedependent-repo
source hasn't been updated. However, when thedependency-repo
is updated, nothing changes thedependent-repo
generation, or annotates thedependent-repo
with a reconciliation request annotation. As such, thedependency-repo
update doesn't actually trigger adependent-repo
update.Am I missing something here, or is this either a controller bug, or a documentation issue?