Skip to content

Commit 485ade0

Browse files
RidRisRcsuzhangxc
andauthored
make compactbackup resource configurable (#6359)
Co-authored-by: Cody (Xuecheng) Zhang <[email protected]>
1 parent 70fe231 commit 485ade0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controller/compactbackup/compact_backup_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ func (c *Controller) makeCompactJob(compact *v1alpha1.CompactBackup) (*batchv1.J
457457
Env: envVars,
458458
VolumeMounts: volumeMounts,
459459
ImagePullPolicy: corev1.PullIfNotPresent,
460+
Resources: compact.Spec.ResourceRequirements,
460461
},
461462
},
462463
RestartPolicy: corev1.RestartPolicyOnFailure,

0 commit comments

Comments
 (0)