mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
Add limitranges to defaultResourcePriorities
This commit adds limitranges to defaultResourcePriorities as suggested in #385. This is done so that pods are not restored before the LimitRange objects, because that would lead to pods not honoring the requests and limits set in LimitRange objects. Fixes #385 Signed-off-by: Shubham <shubham@linux.com>
This commit is contained in:
@@ -304,6 +304,7 @@ var defaultResourcePriorities = []string{
|
||||
"secrets",
|
||||
"configmaps",
|
||||
"serviceaccounts",
|
||||
"limitranges",
|
||||
}
|
||||
|
||||
func applyConfigDefaults(c *api.Config, logger logrus.FieldLogger) {
|
||||
|
||||
Reference in New Issue
Block a user