You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
In pkg/daemon/sync.go there's a calculation of which Kubernetes resources were changed in the most recent application, which is recorded in the event posted upstream (wherever that is). But it's pretty bogus, because
it thinks all the resources defined in a file have changed, if that file has changed at all;
it considers all resources generated by a .flux.yaml config to have changed, every time
it doesn't really know what "changed" means, anyway -- any textual difference will do, whether or not it had a material affect.
I can think of a couple of ways to get a better result:
pay attention to what kubectl reports, when applying manifests, since that gives a resource-by-resource account (though it's not always accurate itself; and parsing the output may not be a stable source of info)
keep track of the resources from last time, and do a bytes-wise comparison to at least determine which resources really changed (if not necessarily meaningfully).
The text was updated successfully, but these errors were encountered:
In
pkg/daemon/sync.go
there's a calculation of which Kubernetes resources were changed in the most recent application, which is recorded in the event posted upstream (wherever that is). But it's pretty bogus, because.flux.yaml
config to have changed, every timeI can think of a couple of ways to get a better result:
The text was updated successfully, but these errors were encountered: