-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PodExecOptions (as object of AdmissionReview#request) not supported? #2332
Comments
ah, looks like Fabric8 Kubernetes Model doesn't contain |
@duco-lw: Would it be possible for you to submit a Pull Request for this one? Implementing it should not be that hard. Just need to add an entry here: kubernetes-client/kubernetes-model-generator/kubernetes-model-core/cmd/generate/generate.go Lines 48 to 63 in ee93164
I think |
PR #2335 |
Co-authored-by: Lewis Wolf <[email protected]>
When reading JSON representing an AdmissionReview for a pod/exec request (PodExecOptions), no resource type is found.
With this code (which can be cut down to a simple test if needed):
The JSON passed in is:
I get the following error:
Failed to parse AdmissionReview: com.fasterxml.jackson.databind.JsonMappingException: No resource type found for:v1#PodExecOptions
What is the expected approach here?
Is it simply that the model is missing and might ship with a new release in future?
Or am I missing something? (If so, what?)
The text was updated successfully, but these errors were encountered: