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
When you use a configmapgenerator, each config map gets a random suffix based on the content. When combined with Replace=True on the Argo Application, every change to a config map's content changes the config map's name and causes the old configmap to be deleted and the new configmap to be created. This is good because I have a watcher on these create/delete events that performs actions when they happen. The problem is that the order is not deterministic. The deletion and creation happen within milliseconds of each other. Sometimes the old config map gets deleted after the new one is created, which causes problems for my listeners on these events. Is there a way to make the order deterministic, i.e. make the deletions happen before the creations?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When you use a configmapgenerator, each config map gets a random suffix based on the content. When combined with
Replace=Trueon the Argo Application, every change to a config map's content changes the config map's name and causes the old configmap to be deleted and the new configmap to be created. This is good because I have a watcher on these create/delete events that performs actions when they happen. The problem is that the order is not deterministic. The deletion and creation happen within milliseconds of each other. Sometimes the old config map gets deleted after the new one is created, which causes problems for my listeners on these events. Is there a way to make the order deterministic, i.e. make the deletions happen before the creations?Beta Was this translation helpful? Give feedback.
All reactions