mirror of
https://github.com/stakater/Reloader.git
synced 2026-05-23 17:13:05 +00:00
23 lines
965 B
Go
23 lines
965 B
Go
package constants
|
|
|
|
const (
|
|
// ConfigmapEnvVarPostfix is a postfix for configmap envVar
|
|
ConfigmapEnvVarPostfix = "CONFIGMAP"
|
|
// SecretEnvVarPostfix is a postfix for secret envVar
|
|
SecretEnvVarPostfix = "SECRET"
|
|
// EnvVarPrefix is a Prefix for environment variable
|
|
EnvVarPrefix = "STAKATER_"
|
|
|
|
// ReloaderAnnotationPrefix is a Prefix for all reloader annotations
|
|
ReloaderAnnotationPrefix = "reloader.stakater.com"
|
|
// LastReloadedFromAnnotation is an annotation used to describe the last resource that triggered a reload
|
|
LastReloadedFromAnnotation = "last-reloaded-from"
|
|
|
|
// ReloadStrategyFlag The reload strategy flag name
|
|
ReloadStrategyFlag = "reload-strategy"
|
|
// EnvVarsReloadStrategy instructs Reloader to add container environment variables to facilitate a restart
|
|
EnvVarsReloadStrategy = "env-vars"
|
|
// AnnotationsReloadStrategy instructs Reloader to add pod template annotations to facilitate a restart
|
|
AnnotationsReloadStrategy = "annotations"
|
|
)
|