wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
646 stars 82 forks source link

Children Tracking Issue: Multiple references to the same child overwrite each other #171

Closed jabdoa2 closed 1 week ago

jabdoa2 commented 1 month ago

This bug has existed for a long time in wave. In some cases wave might add a hash annotation even though a child is still missing.

Wave tracks its children (configmaps and secrets) in a map. If the same child is used in two places the second occurance overwrites the first one. This can make a required child optional. It might also in some cases exclude used keys from the hash.