pbacsko commented on code in PR #469:
URL: https://github.com/apache/yunikorn-k8shim/pull/469#discussion_r1026317200


##########
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:
   Could you double check this?
   
   If something is in `noLabelNamespaces`, we still add the `scheduler` label, 
we skip `disableStateAware`, `queue` and `applicationId`. But to me it looks 
like Yunikorn will process it.



-- 
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]

Reply via email to