feat: parameterize all annotations

This commit is contained in:
Joey Espinosa
2019-01-31 16:14:16 -05:00
parent d2335f8ffd
commit 75b00733bf
11 changed files with 76 additions and 46 deletions

View File

@@ -0,0 +1,10 @@
package options
var (
// ConfigmapUpdateOnChangeAnnotation is an annotation to detect changes in configmaps
ConfigmapUpdateOnChangeAnnotation = "configmap.reloader.stakater.com/reload"
// SecretUpdateOnChangeAnnotation is an annotation to detect changes in secrets
SecretUpdateOnChangeAnnotation = "secret.reloader.stakater.com/reload"
// ReloaderAutoAnnotation is an annotation to detect changes in secrets
ReloaderAutoAnnotation = "reloader.stakater.com/auto"
)