Skip to content

Commit

Permalink
Add constants for backup triggering CronJob
Browse files Browse the repository at this point in the history
Signed-off-by: Emruz Hossain <emruz@appscode.com>
  • Loading branch information
Emruz Hossain committed Sep 16, 2021
1 parent 78e6bc8 commit 8cbe8b9
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions apis/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,16 @@ const (
PrefixStashBackup = "stash-backup"
PrefixStashRestore = "stash-restore"
PrefixStashVolumeSnapshot = "stash-vs"

StashContainer = "stash"
StashInitContainer = "stash-init"
LocalVolumeName = "stash-local"
ScratchDirVolumeName = "stash-scratchdir"
TmpDirVolumeName = "tmp-dir"
TmpDirMountPath = "/tmp"
PodinfoVolumeName = "stash-podinfo"
PrefixStashTrigger = "stash-trigger"

StashContainer = "stash"
StashInitContainer = "stash-init"
StashCronJobContainer = "stash-trigger"
LocalVolumeName = "stash-local"
ScratchDirVolumeName = "stash-scratchdir"
TmpDirVolumeName = "tmp-dir"
TmpDirMountPath = "/tmp"
PodinfoVolumeName = "stash-podinfo"

RecoveryJobPrefix = "stash-recovery-"
ScaledownCronPrefix = "stash-scaledown-cron-"
Expand Down

0 comments on commit 8cbe8b9

Please sign in to comment.