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

feat: full implementation of AdmissionResponse object #559

Merged

Conversation

flavio
Copy link
Member

@flavio flavio commented Sep 19, 2024

Implement all the fields that are part of an AdmissionResponse object.

While doing that I also cleaned up a bit our code. I've turned some String into enums and I've added some inline documentation by doing copy and paste from the Kubernetes' one.

Note: we cannot rely on k8s-openapi for these Rust structs since they are not part of the OpenAPI definitions of Kubernetes.

Implement all the fields that are part of an AdmissionResponse object.

While doing that I also cleaned up a bit our code. I've turned some
`String` into `enums` and I've added some inline documentation by doing
copy and paste from the Kubernetes' one.

Note: we cannot rely on `k8s-openapi` for these Rust structs since they
are not part of the OpenAPI definitions of Kubernetes.

Signed-off-by: Flavio Castelli <[email protected]>
@flavio flavio requested a review from a team as a code owner September 19, 2024 14:26
@flavio flavio self-assigned this Sep 19, 2024
@flavio flavio merged commit ca32e7f into kubewarden:main Sep 19, 2024
6 checks passed
@flavio flavio deleted the implement-all-admission-respose-fields branch September 19, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants