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

Fixes an error that was preventing the pods from being mutated #1421

Merged

Conversation

ssullivan
Copy link
Contributor

When testing out the latest changes on k8s 1.22 I noticed that the pods were not getting mutated despite the webhook being invoked.

When I checked the k8s logs I noticed an error message like the following

": expected webhook response of admission.k8s.io/v1, Kind=AdmissionReview, got /,

When I updated the operator to explicitly specify the Kind in TypeMeta the error went away and the modifications were applied to the pod.

… internal error because the kind was / instead of AdmissionReview

Changed where we set Response
@liyinan926 liyinan926 merged commit 2919f52 into kubeflow:master Dec 3, 2021
jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
… internal error because the kind was / instead of AdmissionReview (kubeflow#1421)

Changed where we set Response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants