Skip to content

Permission error when performing backup with export #1777

@svghadi

Description

@svghadi

Describe the bug
Test --- FAIL: kuttl/harness/1-001_validate_basic (908.27s) fails when latest quay.io/argoprojlabs/argocd-operator-util images are used to run ArgoCDExport jobs.

Error from export job pod

exporting argo-cd
creating argo-cd backup
time="2025-07-07T07:06:13Z" level=fatal msg="applications.argoproj.io is forbidden: User \"system:serviceaccount:kuttl-test-climbing-magpie:example-argocd-argocd-application-controller\" cannot list resource \"applications\" in API group \"argoproj.io\" at the cluster scope"

Last known good image is of version 0.13.0

        // ArgoCDDefaultExportJobVersion is the export job container image tag to use when not specified.
	ArgoCDDefaultExportJobVersion = "sha256:0745934cb55d95c266daa5423ece9c149bb67db99eb2b3d9215597903724c636" // 0.13.0

To Reproduce
Steps to reproduce the behavior:
Run kuttl/harness/1-001_validate_basic test.

Expected behavior
The test should pass with latest version

Additional context

I think it is fixed with argoproj/argo-cd#22322

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