Skip to content

Commit

Permalink
Merge pull request #116 from stashed/fix-cronjob-name-prefix
Browse files Browse the repository at this point in the history
Add constants for backup triggering CronJob
  • Loading branch information
Emruz Hossain committed Sep 21, 2021
2 parents 78e6bc8 + 8cbe8b9 commit fda2991
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 fda2991

Please sign in to comment.