Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup resolved object before validating through dry-run #8051

Merged
merged 1 commit into from
Jun 18, 2024

Commits on Jun 13, 2024

  1. Cleanup resolved object before validating through dry-run

    This ensure that we are not going to fail during validation with
    dry-run. An example of such a failure would be the following scenario.
    
    - A task in a namespace has `ownerReferences` with
    `blockOwnerDeletion: true`
    - A user uses the `cluster` resolver to fetch that task
    - That user doesn't have a lot of rights in that namespace (only
    listing Tasks for example).
    
    /kind bug
    
    Signed-off-by: Vincent Demeester <[email protected]>
    vdemeester committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    69a6b8d View commit details
    Browse the repository at this point in the history