You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2023/02/15 17:10:00 UTC

[jira] [Resolved] (YUNIKORN-1569) Admission controller cannot update CronJobs

     [ https://issues.apache.org/jira/browse/YUNIKORN-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Condit resolved YUNIKORN-1569.
------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed

Merged to master.

> Admission controller cannot update CronJobs
> -------------------------------------------
>
>                 Key: YUNIKORN-1569
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1569
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>    Affects Versions: 1.2.0
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> If {{admissionController.accessControl.bypassAuth}} is set to false, then CronJobs are not updated with userinfo properly by the admission conroller.
> The following error is generated:
> {noformat}
> Error from server (InternalError): error when creating "cronjob.yaml": Internal error occurred: add operation does not apply: doc is missing path: "/spec/jobtemplate/spec/template/metadata/annotations": missing value
> {noformat}
> The problem is that the path uses "jobtemplate" instead of "jobTemplate".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org