pbacsko commented on code in PR #469:
URL: https://github.com/apache/yunikorn-k8shim/pull/469#discussion_r1028030184
##########
pkg/plugin/admissioncontrollers/webhook/admission_controller.go:
##########
@@ -199,11 +218,10 @@ func (c *admissionController) processPod(req
*admissionv1.AdmissionRequest) *adm
return admissionResponseBuilder(uid, true, "", patchBytes)
}
-func (c *admissionController) processWorkload(req
*admissionv1.AdmissionRequest) *admissionv1.AdmissionResponse {
+func (c *admissionController) processWorkload(req
*admissionv1.AdmissionRequest, namespace string) *admissionv1.AdmissionResponse
{
Review Comment:
Done.
I had to add extra code to extract the labels from deployments, replicasets,
etc. This required some refactoring and new tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]