Skip to content
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

Make admission errors clearer #9774

Merged
merged 1 commit into from Jun 17, 2015
Merged

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented Jun 13, 2015

If the name can't be determined because the object doesn't have ObjectMeta, return the original error (same as if the object is nil). Otherwise a confusing message is returned that doesn't indicate the actual reason admission rejected the object.

@liggitt
Copy link
Member Author

liggitt commented Jun 13, 2015

@derekwaynecarr PTAL

@k8s-bot
Copy link

k8s-bot commented Jun 13, 2015

GCE e2e build/test failed for commit 2040272f29081239fe810f0e66a25fb5d4bdbcc9.

@derekwaynecarr
Copy link
Member

Much clearer :-)

@derekwaynecarr derekwaynecarr added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2015
@saad-ali
Copy link
Member

@k8s-bot retest this please

@k8s-bot
Copy link

k8s-bot commented Jun 16, 2015

GCE e2e build/test failed for commit 2040272f29081239fe810f0e66a25fb5d4bdbcc9.

@saad-ali
Copy link
Member

@k8s-bot retest this please

@k8s-bot
Copy link

k8s-bot commented Jun 17, 2015

GCE e2e build/test failed for commit 2040272f29081239fe810f0e66a25fb5d4bdbcc9.

@k8s-bot
Copy link

k8s-bot commented Jun 17, 2015

GCE e2e build/test passed for commit 87f8497.

saad-ali added a commit that referenced this pull request Jun 17, 2015
@saad-ali saad-ali merged commit 6473198 into kubernetes:master Jun 17, 2015
@liggitt liggitt deleted the admission_error branch June 18, 2015 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants