Skip to content

Apply changes to access requests only to the latest version #115

@FrederiqueRetsema

Description

@FrederiqueRetsema

When the plugin denies the request, the user tries again and the plugin allows the request, the Ephemeral Access Extension will give an error:

2025-06-07T12:26:00.432Z ERROR Reconciler error {"controller": "accessrequest", "controllerGroup": "ephemeral-access.argoproj-labs.io", "controllerKind": "AccessRequest", "AccessRequest": {"name":"frederique.retsema-devops-6j6hd","namespace":"argocd"}, "namespace": "argocd", "name": "frederique.retsema-devops-6j6hd", "reconcileID": "51eae0f7-bc18-4539-8e95-29a55bf6b85c", "error": "error handling permission: error updating access request status to granted: Operation cannot be fulfilled on accessrequests.ephemeral-access.argoproj-labs.io "frederique.retsema-devops-6j6hd": the object has been modified; please apply your changes to the latest version and try again"}

Can you please change this, so the Ephemeral Access Extension just changes the latest request for a specific role? (Or: make this a debug message?)

Thx in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions