Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion controllers/restic.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,12 @@ func (r *DPAReconciler) buildResticDaemonset(dpa *oadpv1alpha1.DataProtectionApp
return nil, fmt.Errorf("ds cannot be nil")
}

// get resource requirements for restic ds
// ignoring err here as it is checked in validator.go
resticResourceReqs, _ := r.getResticResourceReqs(dpa)

installDs := install.DaemonSet(ds.Namespace,
install.WithResources(r.getResticResourceReqs(dpa)),
install.WithResources(resticResourceReqs),
install.WithImage(getVeleroImage(dpa)),
install.WithAnnotations(dpa.Spec.PodAnnotations),
install.WithSecret(false))
Expand Down
Loading