Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

pkg/controller/webhook.Validate et al should return an AdmissionResponse #1267

Closed
makkes opened this issue Aug 5, 2020 · 1 comment · Fixed by #1282
Closed

pkg/controller/webhook.Validate et al should return an AdmissionResponse #1267

makkes opened this issue Aug 5, 2020 · 1 comment · Fixed by #1282
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@makkes
Copy link
Contributor

makkes commented Aug 5, 2020

What would you like to be added:
The functions in pkg/controller/webhook/util.go should not mutate the admission.Response parameter but rather return a new one.

Why is this needed:
This came out of this PR review.

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 5, 2020
@makkes
Copy link
Contributor Author

makkes commented Sep 21, 2020

/assign

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants