We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5510e13 commit 8aada34Copy full SHA for 8aada34
internal/backend/deploy.go
@@ -483,6 +483,11 @@ func (in *instance) createSetupInitContainer(tainr *types.Container) (*corev1.Co
483
container.Image = in.initImage
484
container.ImagePullPolicy = pulpol
485
container.Command = []string{"sh", "-c", "while [ ! -f /tmp/done ]; do sleep 0.1 ; done"}
486
+ reqlimits, err := tainr.GetResourceRequirements(container.Resources)
487
+ if err != nil {
488
+ return nil, err
489
+ }
490
+ container.Resources = reqlimits
491
return &container, nil
492
}
493
0 commit comments