You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obviously, volcano forgets to cover the init container case ... and once the init container set the privileged field, it turns out
Error from server: error when creating "vj-test.yaml": admission webhook "validatejob.volcano.sh" denied the request: spec.task[0].template.spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by cluster policy.
The text was updated successfully, but these errors were encountered:
I am not sure if the original logic to Skip verify container SecurityContex.Privileged is appropriate. The root cause is kube-apiserver configured --allow-privileged=true and kube-apiserver will use this config to init capabilities. But the volcano does not know the kube-apiserver configuration.
volcano/pkg/webhooks/admission/jobs/validate/admit_job.go
Lines 278 to 284 in db2936f
obviously, volcano forgets to cover the init container case ... and once the init container set the
privileged
field, it turns outThe text was updated successfully, but these errors were encountered: