kelseyhightower / confd

Manage local application configuration files using templates and data from etcd or consul
MIT License
8.36k stars 1.41k forks source link

Add -sync-first flag to render template before processing with interval or watching #884

Open aosorgin opened 1 year ago

aosorgin commented 1 year ago

If we are using Zookepper and znodes are not initialized yet, confd start watching nodes as they are created but do not render template. As this process has race conditions it would be fine to introduce the option to render template as startup and then continue to processing.