-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix pod create failure #2545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pod create failure #2545
Conversation
|
caught from #2504 , where doing |
|
Seems to be something I introduced as an intern, whoops haha |
|
/approve |
a1b94ee to
189980e
Compare
|
@haircommander new hire rule #243 "never trust an intern". That should have been covered in NHO . ;^) |
|
@TomSweeneyRedHat that's on y'all for merging my PRs :) |
|
LGTM, assuming happy tests |
189980e to
13c3ffa
Compare
|
Papr is throwing random internal errors, and not just here |
|
LGTM |
|
bot, retest this please |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, haircommander, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
bot, retest this please |
13c3ffa to
29e7ffb
Compare
|
/retest |
1 similar comment
|
/retest |
Before, a pod create would fail if it was set to share no namespaces, but had an infra container. While inefficient (you add a container for no reason), it shouldn't be a fatal failure. Fix this by only failing if the pod was set to share namespaces, but had no infra container, and writing a warning if vice versa. Signed-off-by: Peter Hunt <[email protected]>
29e7ffb to
b4e184a
Compare
|
@rhatdan @mheon @TomSweeneyRedHat lost the lgtm label rebasing off of master to retrigger tests PTAL :) |
|
/lgtm |
Before, a pod create would fail if it was set to share no namespaces, but had an infra container. While inefficient (you add a container for no reason), it shouldn't be a fatal failure. Fix this by only failing if the pod was set to share namespaces, but had no infra container.
Signed-off-by: Peter Hunt [email protected]