source-controller
source-controller copied to clipboard
Notice change of hostname
All reconcilers do at present contain logic to update an outdated hostname for scenarios where e.g. the source-controller changes from namespace (but the resources maintain).
To improve observability, we may want to start pushing an event out when this happens to take a historical note of it.
Relevant lines have been marked (in reconcilers-dev
) with:
// TODO(hidde): we may want to send out an event only if we notice the URL has changed