Azure / eno

Language-agnostic configuration management for Kubernetes
MIT License
7 stars 5 forks source link

Fix input revision comparison bug #211

Closed jveski closed 1 month ago

jveski commented 1 month ago

Values are appended the status.inputRevisions slice as they're discovered, but corresponding values are appended to status.currentSynthesis.inputRevisions by the order of their refs.

So compositions will enter a synthesis loop if inputs aren't seen by the watch controller in the same order that they're defined as refs.

This can be fixed easily by ignoring order, it wasn't significant anyway. The PR also renames InputsMismatched since I found the naming to be... opaque in retrospect.