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
|`reloader.ignoreSecrets`| To ignore secrets. Valid value are either `true` or `false`. Either `ignoreSecrets` or `ignoreConfigMaps` can be ignored, not both at the same time | boolean |`false`|
318
318
|`reloader.ignoreConfigMaps`| To ignore configMaps. Valid value are either `true` or `false`| boolean |`false`|
319
319
|`reloader.reloadOnCreate`| Enable reload on create events. Valid value are either `true` or `false`| boolean |`false`|
320
+
|`reloader.reloadOnDelete`| Enable reload on delete events. Valid value are either `true` or `false`| boolean |`false`|
320
321
|`reloader.syncAfterRestart`| Enable sync after Reloader restarts for **Add** events, works only when reloadOnCreate is `true`. Valid value are either `true` or `false`| boolean |`false`|
321
322
|`reloader.reloadStrategy`| Strategy to trigger resource restart, set to either `default`, `env-vars` or `annotations`| enumeration |`default`|
322
323
|`reloader.ignoreNamespaces`| List of comma separated namespaces to ignore, if multiple are provided, they are combined with the AND operator | string |`""`|
1. Configmaps/secrets being added to the cache will cause Reloader to perform a rolling update of the associated workload
378
379
1. When applications are deployed for the first time, Reloader will perform a rolling update of the associated workload
379
380
1. If you are running Reloader in HA mode all workloads will have a rolling update performed when a new leader is elected
381
+
-`reloadOnDelete` controls how Reloader handles secrets being deleted. If `reloadOnDelete` is set to true:
382
+
1. Configmaps/secrets being deleted will cause Reloader to perform a rolling update of the associated workload
380
383
-`serviceMonitor` will be removed in future releases of Reloader in favour of Pod monitor
381
384
- If `reloadOnCreate` is set to false:
382
385
1. Updates to configmaps/secrets that occur while there is no leader will not be picked up by the new leader until a subsequent update of the configmap/secret occurs
383
386
1. In the worst case the window in which there can be no leader is 15s as this is the LeaseDuration
384
-
- By default, `reloadOnCreate` and `syncAfterRestart` are both set to false. Both need to be enabled explicitly
387
+
- If `reloadOnDelete` is set to false:
388
+
1. Deleting of configmaps/secrets has no effect to pods that references these resources.
389
+
- By default, `reloadOnCreate`, `reloadOnDelete` and `syncAfterRestart` are all set to false. All need to be enabled explicitly
0 commit comments