WIP: The prior commit (51133b5) on this PR added the cachePath constant but never updated the three call sites that still used the raw "/cache" literal. I replaced all three: the two corev1.VolumeMount MountPath fields (in buildBackupJob and b
#3
@ -14,6 +14,8 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
const cachePath = "/cache"
|
||||
|
||||
func buildBackupJob(cfg *config.Config, req api.BackupRequest, jobName, secretName, repository string, dedupeEnabled bool, keepLast int) *batchv1.Job {
|
||||
labels := map[string]string{
|
||||
labelAppName: "soteria",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user