mirror of
https://github.com/stakater/Reloader.git
synced 2026-04-22 01:46:47 +00:00
Adds support for auto-reloading secrets and configmaps by annotation.
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
package options
|
||||
|
||||
var (
|
||||
// ConfigmapUpdateOnChangeAnnotation is an annotation to detect changes in configmaps
|
||||
// ConfigmapUpdateOnChangeAnnotation is an annotation to detect changes in
|
||||
// configmaps specified by name
|
||||
ConfigmapUpdateOnChangeAnnotation = "configmap.reloader.stakater.com/reload"
|
||||
// SecretUpdateOnChangeAnnotation is an annotation to detect changes in secrets
|
||||
// SecretUpdateOnChangeAnnotation is an annotation to detect changes in
|
||||
// secrets specified by name
|
||||
SecretUpdateOnChangeAnnotation = "secret.reloader.stakater.com/reload"
|
||||
// ReloaderAutoAnnotation is an annotation to detect changes in secrets
|
||||
ReloaderAutoAnnotation = "reloader.stakater.com/auto"
|
||||
// ConfigmapUpdateAutoSearchAnnotation is an annotation to detect changes in
|
||||
// configmaps searched by annotation
|
||||
ConfigmapUpdateAutoSearchAnnotation = "configmap.reloader.stakater.com/auto-by-annotation"
|
||||
// SecretUpdateAutoSearchAnnotation is an annotation to detect changes in
|
||||
// secrets searched by annotation
|
||||
SecretUpdateAutoSearchAnnotation = "secret.reloader.stakater.com/auto-by-annotation"
|
||||
// LogFormat is the log format to use (json, or empty string for default)
|
||||
LogFormat = ""
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user